<!doctype html>

<html>

<head>
    <title>反物质维度极速版</title>
    <link rel="icon" type="image/png" href="icon.png">
    <meta name="Antimatter Dimensions" content="A game about huge numbers and watching them go up." charset="utf-8"/>
    <h1 id="hiddenheader" style="display: none">Antimatter Dimensions</h1>
    <script type="text/javascript" src="javascripts/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="javascripts/notify.js"></script>
    <link rel="stylesheet" type="text/css" href="stylesheets/styles.css?3">
</head>
<img id="loading" src="images/Loading.png">
<div id="snow" style="display: none; "></div>
<body id="body" style="height: 95vh; ">
    <div id="container" class="container" style="color:#4F5957; font-family: Typewriter; text-align:center; font-size: 11px; display:none">
        <div id='game'>
            <div id='news'>.</div>
        </div>
        <div id="matter"></div>
        <div style="position: relative"><div class="IP" id="infinityPoints2"></div></div>
        <div style="position: relative"><div class="EP" id="eternityPoints2"></div></div>
        <div>
            <p>你有 <span id="coinAmount" style="font-size:25px; color: black">0</span> 反物质.</p>
        </div>

        <div style="position: relative">
            <button id="postInfinityButton" class="postinfcrunch">Big Crunch for x Infinity Points</button>
            <button id="newDimensionButton" class="newdim" onclick="newDimension()">Get x antimatter to unlock a new Dimension.</button>
            <button id="eternitybtn" class="eternitybtn" onclick="eternity()">还有其他时间.. 我需要永恒.</button>
        </div>
        <div id="coinsPerSec">You are getting 0 antimatter per second.</div>

        <tr id="tickSpeedRow" style="visibility: hidden">
            <div id="tickLabel" style="visibility: hidden">Make the game 10% faster.</div>
            <button id="tickSpeed" style="color:black; visibility: hidden; height: 25px;width: 170px; font-size: 12px" class="storebtn">Cost: 1000</button>
            <button id="tickSpeedMax" onclick="buyMaxTickSpeed()" style="color:black; visibility: hidden; height: 25px; font-size: 12px" class="storebtn">购买最大</button>
            <div id="tickSpeedAmount" style="visibility: hidden">Tickspeed: 1000</div>
        </tr>
        <p></p>
        <div style="position:absolute; left: 0; right: 0; margin-left: auto; margin-right: auto; width: 360px; top: 19px">
            <button id="bigcrunch" style="font-family: Typewriter; font-size: 50px; width: 360px; height: 100px;" class="tabbtn">坍缩</button>
        </div>
        <div>
            <button id="challengesbtn" style="font-family: Typewriter; font-size: 20px;display: none" class="tabbtn">挑战</button>
            <button id="autobuyersbtn" style="font-family: Typewriter; font-size: 20px;display: none" class="tabbtn">自动化</button>
            <button id="dimensionsbtn" style="font-family: Typewriter; font-size: 20px" class="tabbtn">维度</button>
            <button id="infinitybtn" style="font-family: Typewriter; font-size: 20px; display: none" class="infinitybtn">无限</button>
            <button id="eternitystorebtn" style="font-family: Typewriter; font-size: 20px; display: none" class="eternitytabbtn">永恒</button>
            <button id="optionsbtn" style="font-family: Typewriter; font-size: 20px" class="tabbtn">选项</button>
            <button id="statisticsbtn" style="font-family: Typewriter; font-size: 20px" class="tabbtn">统计</button>
            <button id="achievementsbtn" style="font-family: Typewriter; font-size: 20px" class="tabbtn">成就</button>
            <button id="shopbtn" style="font-family: Typewriter; font-size: 20px" class="tabbtn">Shop</button>
        </div>
        <div id="emptiness" class="tab" style="font-size: 150%">
            <br> 由于反物质过多, 世界自行坍缩了.
            <br>
            <br>
        </div>
        <div id="eternitystore" class="tab" style="font-size: 15px; margin: 0 auto; display: none" align="center">
            <table class="table" align="center" style="margin: auto">
                <tr>
                    <td><button class="secondarytabbtn" onclick="showEternityTab('timestudies')">时间研究</button></td>
                    <td><button class="secondarytabbtn" onclick="showEternityTab('eternityupgrades')">永恒升级</button></td>
                    <td><button class="secondarytabbtn" onclick="showEternityTab('milestones')">永恒里程碑</button></td>
                    <td><button class="secondarytabbtn" onclick="showEternityTab('dilation')" id="dilationTabbtn">时间膨胀</button></td>
                </tr>
            </table>
            <div class="eternitytab" id="timestudies" style="font-size: 15px">
                <div style="display: none;"><textarea id="treeExportOutput" style="color:black; width: 200px; height: 55px;"></textarea></div>
                <canvas id="studyTreeCanvas"></canvas>
                <tr>
                    <td><button class="storebtn" onclick="exportStudyTree()" style="width:150px; height: 40px; font-size: 10px; margin: auto">导出时间研究树</button><td>
                    <td><button class="storebtn" onclick="respecToggle()" id="respec" style="width:150px; height: 40px; font-size: 10px; margin: auto">下次永恒时重置时间研究树</button><td>
                    <td><button class="storebtn" onclick="importStudyTree()" style="width:150px; height: 40px; font-size: 10px; margin: auto">导入时间研究树</button><td>
                </tr>
                <table class="table" id="studytable">
                    <tr>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                        <td><button class="timestudylocked" id="11" onclick="buyTimeStudy(11, 1)">时间速率以稍弱的效果影响第一时间维度<span id="11desc">Currently: 1x</span>花费: 1 时间定理</button></td>
                        <td><button class="timestudybought" id="secretstudy" style="opacity: 0; cursor: pointer; transition-duration: 2s;">解锁一个隐藏成就<span>花费: 0 时间定理</button></td>
                    </tr>
                </table>
                <br>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="21" onclick="buyTimeStudy(21, 3)">加强复制器效果公式 (log2(x)^2 -> x^0.032)<span>花费: 3 时间定理</button></td>
                        <td><button class="timestudy" id="22" onclick="buyTimeStudy(22, 2)">复制间隔最小值 50毫秒 -> 1毫秒<span>花费: 2 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="33" onclick="buyTimeStudy(33, 2)">无限时保留一半的复制星系<span>花费: 2 时间定理</button></td>
                        <td><button class="timestudy" id="31" onclick="buyTimeStudy(31, 3)">加强基于无限次数的效果 (4次方)<span>花费: 3 时间定理</button></td>
                        <td><button class="timestudy" id="32" onclick="buyTimeStudy(32, 2)"><span id="32desc">You gain x1 more infinitied stat (based on dimension boosts)</span>花费: 2 时间定理</button></td>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="41" onclick="buyTimeStudy(41, 4)">每个星系给无限点数 x1.2 倍. <span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy" id="42" onclick="buyTimeStudy(42, 6)">星系需要的第八维度数量的增长从 60 减少到 52.<span>花费: 6 时间定理</button></td>
                    </tr>
                </table>
                <br>
                <table class="table" id="studytable">
                    <tr>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                        <td><button class="timestudy" id="51" onclick="buyTimeStudy(51, 3)"><span id=51desc>You gain 1e15 times more IP</span>花费: 3 时间定理</button></td>
                        <td><button class="eternitychallengestudy" id="ec5unl">Eternity Challenge 5<span>Requirement: 200 galaxies<span>花费: 100 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                        <td><button class="timestudy" id="61" onclick="buyTimeStudy(61, 3)">你获得 10 倍永恒点数<span>花费: 3 时间定理</button></td>
                        <td><button class="timestudy" id="62" onclick="buyTimeStudy(62, 3)">你获得复制器的速度 x3<span>花费: 3 时间定理</button></td>
                    </tr>
                </table>
                <br>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy normaldimstudy" id="71" onclick="buyTimeStudy(71, 4)">献祭以稍弱的效果增强其余普通维度<span id="71desc">Currently: 1x</span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy infdimstudy" id="72" onclick="buyTimeStudy(72, 6)">献祭以大削弱的效果增强第四无限维度<span id="72desc">Currently: 1x</span>花费: 6 时间定理</button></td>
                        <td><button class="timestudy timedimstudy" id="73" onclick="buyTimeStudy(73, 5)">献祭以大削弱的效果增强第三时间维度<span id="73desc">Currently: 1x</span>花费: 5 时间定理</button></td>
                    </tr>
                    <tr>
                        <td><button class="timestudy normaldimstudy" id="81" onclick="buyTimeStudy(81, 4)">维度提升效果变为 10x<span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy infdimstudy" id="82" onclick="buyTimeStudy(82, 6)">维度提升影响无限维度<span id="82desc">Currently: 1x</span>花费: 6 时间定理</button></td>
                        <td><button class="timestudy timedimstudy" id="83" onclick="buyTimeStudy(83, 5)">每个时间维度提供的时间速率升级让维度提升效果提高 0.04%<span>花费: 5 时间定理</button></td>
                    </tr>
                    <tr>
                        <td><button class="timestudy normaldimstudy" id="91" onclick="buyTimeStudy(91, 4)">普通维度根据本次永恒的时间获得乘数<span id="91desc">Currently: 1x</span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy infdimstudy" id="92" onclick="buyTimeStudy(92, 5)">无限维度根据最快永恒的时间获得乘数<span id="92desc">Currently: 1x</span>花费: 5 时间定理</button></td>
                        <td><button class="timestudy timedimstudy" id="93" onclick="buyTimeStudy(93, 7)">时间维度根据获得的时间速率升级获得乘数<span id="93desc">Currently: 1x</span>花费: 7 时间定理</button></td>
                    </tr>
                    <tr>
                        <td><button class="timestudy normaldimstudy" id="101" onclick="buyTimeStudy(101, 4)">复制器给普通维度等于其值的乘数<span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy infdimstudy" id="102" onclick="buyTimeStudy(102, 6)">复制器星系加强复制器乘数<span>花费: 6 时间定理</button></td>
                        <td><button class="timestudy timedimstudy" id="103" onclick="buyTimeStudy(103, 6)">时间维度获得等于复制器星系的乘数<span>花费: 6 时间定理</p></button></td>
                    </tr>
                </table>
                <br>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="eternitychallengestudy" id="ec7unl">Eternity Challenge 7<span>Requirement: 1e550,000 antimatter<span>花费: 115 时间定理</button></td>
                        <td><button class="timestudy" id="111" onclick="buyTimeStudy(111, 12)">让无限点数公式变得更好<span>花费: 12 时间定理</button></td>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                    </tr>
                </table>
                <br>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy activestudy" id="121" onclick="buyTimeStudy(121, 9)">前十次永恒的平均永恒点数每分钟越低，给永恒点越高的乘数<span id="121desc">Currently: 1x</span>花费: 9 时间定理</button></td>
                        <td><button class="timestudy passivestudy" id="122" onclick="buyTimeStudy(122, 9)">你获得 35 倍永恒点数<span>花费: 9 时间定理</button></td>
                        <td><button class="timestudy idlestudy" id="123" onclick="buyTimeStudy(123, 9)">根据在本次永恒中的时间给永恒点乘数<span id="123desc">Currently: 1x</span>花费: 9 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="eternitychallengestudy" id="ec6unl">Eternity Challenge 6<span>Requirement: 40 replicanti galaxies<span>花费: 100 时间定理</button></td>
                        <td><button class="timestudy activestudy" id="131" onclick="buyTimeStudy(131, 5)">禁用自动复制器星系，但是可以获得多一半的复制器星系<span>花费: 5 时间定理</button></td>
                        <td><button class="timestudy passivestudy" id="132" onclick="buyTimeStudy(132, 5)">复制器星系效果 +40%<span>花费: 5 时间定理</button></td>
                        <td><button class="timestudy idlestudy" id="133" onclick="buyTimeStudy(133, 5)">复制器在无限之前慢十倍，但是复制器星系增强 50%<span>花费: 5 时间定理</button></td>
                        <td><button class="eternitychallengestudy" id="ec8unl">Eternity Challenge 8<span>花费: 100 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy activestudy" id="141" onclick="buyTimeStudy(141, 4)">无限点数乘数，在本次无限中逐渐降低<span id="141desc">Currently 1x</span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy passivestudy" id="142" onclick="buyTimeStudy(142, 4)"><span id="142desc">You gain 1e25x more IP</span>花费: 4 时间定理</button></td>
                        <td><button class="timestudy idlestudy" id="143" onclick="buyTimeStudy(143, 4)">无限点数乘数，在本次无限中逐渐上升<span id="143desc">Currently 1x</span>花费: 4 时间定理</button></td>
                    </tr>
                </table>
                <br>
                <table class="table" id="studytable">
                    <tr>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                        <td><button class="eternitychallengestudy" id="ec9unl">Eternity Challenge 9<span>Requirement: 1e6000 infinity power<span>花费: 100 时间定理</button></td>
                        <td><button class="timestudy" id="151" onclick="buyTimeStudy(151, 8)"><span id="151desc">1e4x multiplier on all Time Dimensions</span>花费: 8 时间定理</button></td>
                        <td style="opacity: 0;"><button class="timestudylocked"></button></td>
                        <td><button class="eternitychallengestudy" id="ec4unl">Eternity Challenge 4<span>Requirement: 1,000,000 infinities<span>花费: 85 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="161" onclick="buyTimeStudy(161, 7)"><span id="161desc">1e616x multiplier on all normal dimensions</span>花费: 7 时间定理</button></td>
                        <td><button class="timestudy" id="162" onclick="buyTimeStudy(162, 7)"><span id="162desc">1e11x multiplier on all Infinity Dimensions</span>花费: 7 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="171" onclick="buyTimeStudy(171, 15)">额外时间速率升级需要的时间碎片的增长速度减慢<span>花费: 15 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="eternitychallengestudy" id="ec1unl">Eternity Challenge 1<span>Requirement: 250 Eternities<span>花费: 20 时间定理</button></td>
                        <td><button class="eternitychallengestudy" id="ec2unl" style="font-size: 10px;">Eternity Challenge 2<span>Requirement: 1,300 Time upgrades gained from time dimensions<span>花费: 25 时间定理</button></td>
                        <td><button class="eternitychallengestudy" id="ec3unl">Eternity Challenge 3<span>Requirement: 30 dicks in your ass<span>花费: 30 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="181" onclick="buyTimeStudy(181, 200)">每秒获得坍缩时的无限点的 1%<span>花费: 200 时间定理</button></td>
                    </tr>
                    <tr>
                        <td><button class="eternitychallengestudy" id="ec10unl">Eternity Challenge 10<span>Requirement: 1e100 EP<span>花费: 200 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="191" onclick="buyTimeStudy(191, 400)">永恒后你永久存储 5% 的无限次数<span>花费: 400 时间定理</button></td>
                        <td><button class="timestudy" id="192" onclick="buyTimeStudy(192, 730)" style="font-size: 10px;"><span id="192desc">You can get beyond 1.8e308 replicantis, but the interval is increased the more you have</span>花费: 730 时间定理</button></td>
                        <td><button class="timestudy" id="193" onclick="buyTimeStudy(193, 300)">根据永恒次数加强普通维度<span id="193desc">Currently: 1x</span>花费: 300 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="201" onclick="buyTimeStudy(201, 900)">在第一个三叉中可以多选一条路<span>花费: 900 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy" id="211" onclick="buyTimeStudy(211, 120)">维度提升需求的增长减少 5<span>花费: 120 时间定理</button></td>
                        <td><button class="timestudy" id="212" onclick="buyTimeStudy(212, 150)">时间碎片加强星系效果<span id="212desc">Currently: 1x</span>花费: 150 时间定理</button></td>
                        <td><button class="timestudy" id="213" onclick="buyTimeStudy(213, 200)">你获得复制器的速度 20x<span>花费: 200 时间定理</button></td>
                        <td><button class="timestudy" id="214" onclick="buyTimeStudy(214, 120)">维度献祭给第八维度的效果更加增强<span id="214desc">Currently: 1x</span>花费: 120 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr class="wideRow">
                        <td><button class="timestudy darkstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="221" onclick="buyTimeStudy(221, 900)">维度提升以弱化的效果影响时间维度<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy lightstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="222" onclick="buyTimeStudy(222, 900)">维度提升需求的增长再减少 2<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy darkstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="223" onclick="buyTimeStudy(223, 900)">星系花费的加速增长晚 7 个开始<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy lightstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="224" onclick="buyTimeStudy(224, 900)">星系花费的加速增长每 2000 个维度提升晚 1 个开始<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy darkstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="225" onclick="buyTimeStudy(225, 900)">根据你的复制器数量获得更多复制器星系<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy lightstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="226" onclick="buyTimeStudy(226, 900)">根据你的最大复制器星系获得更多复制器星系<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy darkstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="227" onclick="buyTimeStudy(227, 900)">维度献祭以弱化的效果影响第四时间维度<span>花费: 900 时间定理</button></td>
                        <td><button class="timestudy lightstudy" style="margin: 1px; width: 120px; font-size: 0.55rem; padding: 3px;" id="228" onclick="buyTimeStudy(228, 900)">维度献祭效果加强<span>花费: 900 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudy darkstudy" id="231" onclick="buyTimeStudy(231, 500)">维度提升基于其数量变得更强<span>花费: 500 时间定理</button></td>
                        <td><button class="timestudy lightstudy" id="232" onclick="buyTimeStudy(232, 500)">星系基于非复制星系的数量变得更强<span>花费: 500 时间定理</button></td>
                        <td><button class="timestudy darkstudy" id="233" onclick="buyTimeStudy(233, 500)">最大复制星系升级的花费根据复制器数量减少<span>花费: 500 时间定理</button></td>
                        <td><button class="timestudy lightstudy" id="234" onclick="buyTimeStudy(234, 500)">维度献祭加强第一维度<span>花费: 500 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="eternitychallengestudy" id="ec11unl">Eternity Challenge 11<span>Requirement: Use only the Normal Dimension path<span>花费: 1 时间定理</button></td>
                        <td><button class="eternitychallengestudy" id="ec12unl">Eternity Challenge 12<span>Requirement: Use only the Infinity Dimension path<span>花费: 1 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudylocked" id="dilstudy1" onclick="buyDilationStudy(1, 5000)">Unlock time dilation<span>Requirement: 5 Eternity Challenge 11 and 12 completions<span>花费: 5000 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudylocked" id="dilstudy2" onclick="buyDilationStudy(2, 1000000)">解锁第五时间维度<span>花费: 1,000,000 时间定理</button></td>
                        <td><button class="timestudylocked" id="dilstudy3" onclick="buyDilationStudy(3, 1e7)">解锁第六时间维度<span>花费: 10,000,000 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudylocked" id="dilstudy4" onclick="buyDilationStudy(4, 1e8)">解锁第七时间维度<span>花费: 100,000,000 时间定理</button></td>
                        <td><button class="timestudylocked" id="dilstudy5" onclick="buyDilationStudy(5, 1e9)">解锁第八时间维度<span>花费: 1,000,000,000 时间定理</button></td>
                    </tr>
                </table>
                <table class="table" id="studytable">
                    <tr>
                        <td><button class="timestudylocked" id="dilstudy6" onclick="finalCheck()">点我获得答案<br>要求: 1e4400 永恒点数</button></td>
                    </tr>
                </table>
                <div style="height: 60px;"></div>
                <div>
                    <table id="footer">
                        <tr>
                            <td>
                                <div style="text-align:center">
                                    <a href="howto.html" target="_newtab">How to play  </a> |
                                    <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                    <a href="changelog.html" target="_newtab">Changelog   </a> |
                                    <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                    <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div  class="eternitytab" id="eternityupgrades">
                <br>
                <table class="table" style="margin: 0 auto">
                    <tr>
                        <td>
                            <button id="eter1" class="eternityupbtn" onclick="buyEternityUpgrade(1, 5)">Infinity Dimensions multiplier equal to unspent EP to the power of 5.<br>Currently: x<br>花费: 5 EP</button>
                        </td>
                        <td>
                            <button id="eter2" class="eternityupbtn" onclick="buyEternityUpgrade(2, 10)">You gain Infinity Dimension multiplier based on eternities (x^log4(2x))<br>Currently: x<br>花费: 10 EP</button>
                        </td>
                        <td>
                            <button id="eter3" class="eternityupbtn" onclick="buyEternityUpgrade(3, 50e3)">Infinity Dimensions multiplier based on sum of Infinity Challenge times<br>Currently: Xx<br>花费: 50 K EP</button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button id="eter4" class="eternityupbtn" onclick="buyEternityUpgrade(4, 1e16)">Your achievement bonus affects Time Dimensions<br>花费: 1e16 EP</button>
                        </td>
                        <td>
                            <button id="eter5" class="eternityupbtn" onclick="buyEternityUpgrade(5, 1e40)">Time Dimensions are multiplied by your unspent time theorems<br>花费: 1e40 EP</button>
                        </td>
                        <td>
                            <button id="eter6" class="eternityupbtn" onclick="buyEternityUpgrade(6, 1e50)">Time Dimensions are multiplied by days played<br>花费: 1e50 EP</button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button id="eterex" class="eternityupbtn" onclick="buyEternityUpgrade(7, 1000)">Generate 1% of EP on eternity per second<br>花费: 1000 EP</button>
                        </td>
                        <td>
                            <button id="eterex3" class="eternityupbtn" onclick="buyEternityUpgrade(9, 1e9)">Autobuy Time Theorems.<p>花费: 1e9 EP</button>
                        </td>
                        <td>
                            <button id="eterex2" class="eternityupbtn" onclick="buyEternityUpgrade(8, 1e6)">Autobuy the EPx5 upgrade."<br>花费: 1e6 EP</button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="eternityupbtnbought" style="opacity: 0"></div>
                        </td>
                        <td>
                            <button id="epmult" class="eternityupbtn" onclick="buyEPMult()">You gain 5 times more EP<p>花费: 500 EP</button>
                        </td>
                        <td>
                            <div class="eternityupbtnbought" style="opacity: 0"></div>
                        </td>
                    </tr>
                </table>
                <div><button class="storebtn" onclick="buyMaxEPMult()" style="height: 25px; width: 190px; font-size:10px; margin-top: -3px;">最大化永恒点乘数</button></div>
                <div id="footercontainer">
                    <table id="footer">
                        <tr>
                            <td>
                                <div style="text-align:center">
                                    <a href="howto.html" target="_newtab">How to play  </a> |
                                    <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                    <a href="changelog.html" target="_newtab">Changelog   </a> |
                                    <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                    <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="eternitytab" id="milestones">
                <table class="table" align="center" style="margin: auto" id="milestones">
                    <tr>
                        <td class="milestoneText">1 次永恒:</td>
                        <td class="milestoneText">2 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward0">解锁无限点数乘数自动购买器</button></td>
                        <td><button class="milestonerewardlocked" id="reward1">永恒时保留自动购买器</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">3 次永恒:</td>
                        <td class="milestoneText">4 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward2">解锁自动复制器星系</button></td>
                        <td><button class="milestonerewardlocked" id="reward3">永恒时保留无限升级</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">5 次永恒:</td>
                        <td class="milestoneText">7 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward4" style="font-size: 12px">解锁更多自动坍缩选项</button></td>
                        <td><button class="milestonerewardlocked" id="reward5" style="font-size: 10px">你解锁无限挑战时自动完成(你立即获得自动献祭)</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">9 次永恒:</td>
                        <td class="milestoneText">10 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward6">解锁自动购买最大星系</button></td>
                        <td><button class="milestonerewardlocked" id="reward7">解锁自动购买最大维度提升</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">11 次永恒:</td>
                        <td class="milestoneText">12 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward8">解锁自动购买第一无限维度</button></td>
                        <td><button class="milestonerewardlocked" id="reward9">解锁自动购买第二无限维度</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">13 次永恒:</td>
                        <td class="milestoneText">14 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward10">解锁自动购买第三无限维度</button></td>
                        <td><button class="milestonerewardlocked" id="reward11">解锁自动购买第四无限维度</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">15 次永恒:</td>
                        <td class="milestoneText">16 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward12">解锁自动购买第五无限维度</button></td>
                        <td><button class="milestonerewardlocked" id="reward13">解锁自动购买第六无限维度</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">17 次永恒:</td>
                        <td class="milestoneText">18 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward14">解锁自动购买第七无限维度</button></td>
                        <td><button class="milestonerewardlocked" id="reward15">解锁自动购买第八无限维度</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">20 次永恒:</td>
                        <td class="milestoneText">25 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward16">永恒时保留打破无限升级</button></td>
                        <td><button class="milestonerewardlocked" id="reward17">到达对应反物质时自动解锁无限维度</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">30 次永恒:</td>
                        <td class="milestoneText">40 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward18">开始时即可购买所有普通维度</button></td>
                        <td><button class="milestonerewardlocked" id="reward19">解锁自动购买复制器概率升级</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">50 次永恒:</td>
                        <td class="milestoneText">60 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward20">初始即解锁复制器</button></td>
                        <td><button class="milestonerewardlocked" id="reward21">解锁自动购买复制器间隔升级</button></td>
                    </tr>
                    <tr>
                        <td class="milestoneText">80 次永恒:</td>
                        <td class="milestoneText">100 次永恒:</td>
                    </tr>
                    <tr>
                        <td><button class="milestonerewardlocked" id="reward22">解锁自动购买最大复制器星系升级</button></td>
                        <td><button class="milestonerewardlocked" id="reward23">解锁自动永恒</button></td>
                    </tr>
                </table>
                <div>
                    <table id="footer">
                        <tr>
                            <td>
                                <div style="text-align:center">
                                    <a href="howto.html" target="_newtab">How to play  </a> |
                                    <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                    <a href="changelog.html" target="_newtab">Changelog   </a> |
                                    <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                    <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="eternitytab" id="dilation" style="font-size: 11px">
                <canvas id="dilationCanvas"></canvas>
                <div>
                    <p>你有 <span id="tachyonParticleAmount" style="font-size:35px; color: black">0</span> 超光速粒子.</p>
                </div>
                <button id="enabledilation" class="dilationbtn" onclick="startDilatedEternity()">Dilate time.</button>
                <p>你有 <span id="dilatedTimeAmount" style="font-size:35px; color: black">0</span> 膨胀时间. <span id="dilatedTimePerSecond" style="font-size:25px; color: black">0</span></p>
                <p>下一个免费星系在 <span id="galaxyThreshold" style="font-size:25px; color: black">1000</span> 膨胀时间获得, 一共获得了 <span id="dilatedGalaxies" style="font-size:25px; color: black">0</span> 个</p>
                <table>
                    <tr>
                        <td>
                            <button class="timestudy" id="dil1" onclick="buyDilationUpgrade(1)">翻倍膨胀时间获取<br><span id="dil1cost">Cost: 1e5 dilated time</span></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil2" onclick="buyDilationUpgrade(2)">降低免费星系需求的增长速度, 但是重置免费星系和膨胀时间<br><span id="dil2cost">Cost: 1e6 dilated time</span></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil3" onclick="buyDilationUpgrade(3)">获取的超光速粒子翻三倍.<br><span id="dil3cost">Cost: 1e7 dilated time</span></button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button class="timestudy" id="dil4" onclick="buyDilationUpgrade(4)">获得双倍的免费星系.<br><span id="dil4cost">Cost: 5e6 dilated time</span></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil5" onclick="buyDilationUpgrade(5)">时间维度获得复制器乘数 ^0.1 的加成.<br><span id="dil5cost">Cost: 1e9 dilated time</span></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil6" onclick="buyDilationUpgrade(6)">普通维度获得一个基于膨胀时间的乘数, 不受时间膨胀影响.<br><span id="dil6cost">Cost: 5e7 dilated time</span></button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button class="timestudy" id="dil7" onclick="buyDilationUpgrade(7)">无限点数获得一个基于膨胀时间的乘数.<br><span id="dil7desc"></span><br><span id="dil7cost"></span></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil8" onclick="buyDilationUpgrade(8)">你可以在第一个三叉选择所有路径.<br><span id="dil8cost"></span></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil9" onclick="buyDilationUpgrade(9)">削弱时间膨胀的效果. (^1.05)<br><span id="dil9cost"></span></button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button class="timestudybought" style="opacity: 0;"></button>
                        </td>
                        <td>
                            <button class="timestudy" id="dil10" onclick="buyDilationUpgrade(10)">根据超光速粒子生成时间定理.<br><span id="dil10desc"></span><br><span id="dil10cost"></span></button>
                        </td>
                        <td>
                            <button class="timestudybought" style="opacity: 0;"></button>
                        </td>
                    </tr>
                </table>
                <div>
                    <table id="footer">
                        <tr>
                            <td>
                                <div style="text-align:center">
                                    <a href="howto.html" target="_newtab">How to play  </a> |
                                    <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                    <a href="changelog.html" target="_newtab">Changelog   </a> |
                                    <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                    <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div id="dimensions" class="tab">
            <table class="table" align="center" style="margin: auto" id="dimTabButtons">
                <tr>
                    <td id="dtabbtn"><button class="secondarytabbtn" onclick="showDimTab('antimatterdimensions')">维度</button></td>
                    <td id="idtabbtn"><button class="secondarytabbtn" onclick="showDimTab('infinitydimensions')">无限维度</button></td>
                    <td id="tdtabbtn"><button class="secondarytabbtn" onclick="showDimTab('timedimensions')">时间维度</button></td>
                </tr>
            </table>
            <div id="antimatterdimensions" class="dimtab">
                <p></p>
                <input id="confirmation" type="checkbox" style="width:20px; height: 18px; display: none" ach-tooltip="维度献祭时不需要确认" onchange="sacrificeConf()">
                <button id="sacrifice" class="storebtn" style="font-size:12px; width: 320px; display: none" ach-tooltip="">维度献祭</button>
                <button id="maxall" class="storebtn" style="font-size: 12px">全部购买最大 (M)</Button>
                <span id="chall2Pow"></span>
                <span id="chall3Pow"></span>
                <table class="table" >
                <tbody id="parent">
                    <tr style="font-size: 15px" id="firstRow">
                        <td id="firstD" width="32%" class="rel">
                            First Dimension x1
                        </td>
                        <td>
                            <div id="firstAmount">0 (0)</div>
                        </td>
                        <td align="right" width="10%">
                            <button id="first" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn" align="right">Cost: 10</button>
                        </td>
                        <td align="right" width="10%">
                            <button id="firstMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn" align="right">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="secondRow" style="display: none; font-size: 15px">
                        <td id="secondD" class="rel">
                            Second Dimension
                        </td>
                        <td>
                            <div id="secondAmount" align="left">0 (0)</div>
                        </td>
                        <td><button id="second" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 100</button>
                        </td>
                        <td>
                            <button id="secondMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="thirdRow" style="display: none; font-size: 15px">
                        <td id="thirdD" class="rel">
                            Third Dimension
                        </td>
                        <td>
                            <div id="thirdAmount" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="third" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 10000</button>
                        </td>
                        <td>
                            <button id="thirdMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="fourthRow" style="display: none; font-size: 15px">
                        <td id="fourthD" class="rel">
                            Fourth Dimension
                        </td>
                        <td>
                            <div id="fourthAmount" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="fourth" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 1000000</button>
                        </td>
                        <td>
                            <button id="fourthMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="fifthRow" style="display: none; font-size: 15px">
                        <td id="fifthD" class="rel">
                            Fifth Dimension
                        </td>
                        <td>
                            <div id="fifthAmount" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="fifth" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 1000000</button>
                        </td>
                        <td>
                            <button id="fifthMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="sixthRow" style="display: none; font-size: 15px">
                        <td id="sixthD" class="rel">
                            Sixth Dimension
                        </td>
                        <td>
                            <div id="sixthAmount" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="sixth" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 1000000</button>
                        </td>
                        <td>
                            <button id="sixthMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="seventhRow" style="display: none; font-size: 15px">
                        <td id="seventhD" class="rel">
                            Seventh Dimension
                        </td>
                        <td>
                            <div id="seventhAmount" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="seventh" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 1000000</button>
                        </td>
                        <td>
                            <button id="seventhMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="eightRow" style="display: none; font-size: 15px">
                        <td id="eightD" class="rel">
                            Eight Dimension
                        </td>
                        <td>
                            <div id="eightAmount" align="left">0 (0)</div>
                        </td>
                        <td>

                            <button id="eight" style="color:black; height: 25px; font-size: 10px; width: 135px" class="storebtn">Cost: 1000000</button>
                        </td>
                        <td>
                            <button id="eightMax" style="color:black; width:210px; height: 25px; font-size: 10px" class="storebtn">Cost: 10</button>
                        </td>
                    </tr>
                    </tbody>
                </table>
                <table style="width: 100%">
                    <tr style="font-size: 15px">
                        <td id="resetLabel">
                            Dimension Shift: requires 20 Fourth Dimension
                        </td>
                        <td>
                            <button id="softReset" style="color:black; width: 200px; height: 25px; font-size: 9px" class="storebtn">Reset the game for a new Dimension</button>
                        </td>
                    </tr>
                    <tr style="font-size: 15px">
                        <td id="secondResetLabel">
                            Antimatter Galaxies: requires 80 Eight Dimension
                        </td>
                        <td>
                            <button id="secondSoftReset" style="color:black; width: 200px; height: 35px; font-size: 9px" class="storebtn">重置并获得对时间速率升级的增益</button>
                        </td>
                    </tr>
                </table>
                <button id="quickReset" style="color:black; width: 200px; height: 50px; font-size: 12px; display: none" class="storebtn">失去一个维度提升并重置反物质和各维度</button>
            </div>
            <div id="infinitydimensions" class="dimtab">
                <span id="EC12Pow"></span>
                <div>
                    <p>你有 <span id="infPowAmount" style="font-size:35px; color: black">0</span> 无限之力, 给普通维度 <span id="infDimMultAmount" style="font-size:35px; color: black">0</span>x 的倍数</p>
                </div>
                <div id="infPowPerSec">You are getting 0 antimatter per second.</div>
                <table class="table" >
                    <tr style="font-size: 16px" id="infRow1">
                        <td id="infD1" width="41%">
                            First Infinity Dimension x1
                        </td>
                        <td>
                            <div id="infAmount1">0 (0)</div>
                        </td>
                        <td>
                            <button id="infauto1" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(1)" class="storebtn">Auto: ON</button>
                        </td>
                        <td align="right" width="10%">
                            <button id="infMax1" style="color:black; width:195px; height:30px" class="storebtn" align="right" onclick="buyManyInfinityDimension(1)">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="infRow2" style="display: none; font-size: 16px">
                        <td id="infD2">
                            Second Infinity Dimension x1
                        </td>
                        <td>
                            <div id="infAmount2" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="infauto2" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(2)" class="storebtn">Auto: ON</button>
                        </td>
                        <td>
                            <button id="infMax2" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(2)">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="infRow3" style="display: none; font-size: 16px">
                        <td id="infD3">
                            Third Infinity Dimension x1
                        </td>
                        <td>
                            <div id="infAmount3" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="infauto3" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(3)" class="storebtn">Auto: ON</button>
                        </td>
                        <td>
                            <button id="infMax3" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(3)">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="infRow4" style="display: none; font-size: 16px">
                        <td id="infD4">
                            Fourth Infinity Dimension x1
                        </td>
                        <td>
                            <div id="infAmount4" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="infauto4" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(4)" class="storebtn">Auto: ON</button>
                        </td>
                        <td>
                            <button id="infMax4" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(4)">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="infRow5" style="display: none; font-size: 16px">
                        <td id="infD5">
                            Fourth Infinity Dimension x1
                        </td>
                        <td>
                            <div id="infAmount5" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="infauto5" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(5)" class="storebtn">Auto: ON</button>
                        </td>
                        <td>
                            <button id="infMax5" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(5)">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="infRow6" style="display: none; font-size: 16px">
                        <td id="infD6">
                            Fourth Infinity Dimension x1
                        </td>
                        <td>
                            <div id="infAmount6" align="left">0 (0)</div>
                        </td>
                        <td>
                            <button id="infauto6" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(6)" class="storebtn">Auto: ON</button>
                        </td>
                        <td>
                            <button id="infMax6" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(6)">Cost: 10</button>
                        </td>
                    </tr>
                    <tr id="infRow7" style="display: none; font-size: 16px">
                            <td id="infD7">
                                Fourth Infinity Dimension x1
                            </td>
                            <td>
                                <div id="infAmount7" align="left">0 (0)</div>
                            </td>
                            <td>
                                <button id="infauto7" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(7)" class="storebtn">Auto: ON</button>
                            </td>
                            <td>
                                <button id="infMax7" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(7)">Cost: 10</button>
                            </td>
                        </tr>
                        <tr id="infRow8" style="display: none; font-size: 16px">
                                <td id="infD8">
                                    Fourth Infinity Dimension x1
                                </td>
                                <td>
                                    <div id="infAmount8" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="infauto8" style="width:70px; font-size: 10px; float: right; visibility: hidden" onclick="switchAutoInf(8)" class="storebtn">Auto: ON</button>
                                </td>
                                <td>
                                    <button id="infMax8" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyManyInfinityDimension(8)">Cost: 10</button>
                                </td>
                            </tr>
                </table>
                <div id="eterc8ids" style="display: none;"></div>
                <button id="toggleallinfdims"style="width:140px; height: 30px; font-size: 12px; visibility: hidden" onclick="toggleAllInfDims()" class="storebtn">全部切换开/关</button>
            </div>
            <div id="timedimensions" class="dimtab">
                    <div>
                        <p id="totaltickgained">You've gained 0 tickspeed upgrades.</p>
                            <p>你有 <span id="timeShardAmount" style="font-size:35px; color: black">0</span> 时间碎片. 下一个时间速率升级在 <span id="tickThreshold" style="font-size:35px; color: black">0</span> 时间碎片获得</p>
                        </div>

                        <div id="timeShardsPerSec">You are getting 0 Timeshards per second.</div>
                        <button id="maxTimeDimensions" class="storebtn" style="font-size: 12px" onclick="buyMaxTimeDimensions()">全部购买最大</Button>
                        <table class="table" >
                            <tr style="font-size: 17px" id="timeRow1">
                                <td id="timeD1" width="43%">
                                    First Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount1">0 (0)</div>
                                </td>
                                <td align="right" width="10%">
                                    <button id="timeMax1" style="color:black; width:195px; height:30px" class="storebtn" align="right" onclick="buyTimeDimension(1)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow2" style="font-size: 17px">
                                <td id="timeD2">
                                    Second Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount2" align="left">0 (0)</div>
                                <td>
                                    <button id="timeMax2" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(2)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow3" style="font-size: 17px">
                                <td id="timeD3">
                                    Third Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount3" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="timeMax3" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(3)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow4" style="font-size: 17px">
                                <td id="timeD4">
                                    Fourth Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount4" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="timeMax4" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(4)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow5" style="font-size: 17px">
                                <td id="timeD5">
                                    Fifth Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount5" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="timeMax5" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(5)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow6" style="font-size: 17px">
                                <td id="timeD6">
                                    Sixth Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount6" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="timeMax6" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(6)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow7" style="font-size: 17px">
                                <td id="timeD7">
                                    Seventh Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount7" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="timeMax7" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(7)">Cost: 10</button>
                                </td>
                            </tr>
                            <tr id="timeRow8" style="font-size: 17px">
                                <td id="timeD8">
                                    Eighth Time Dimension x1
                                </td>
                                <td>
                                    <div id="timeAmount8" align="left">0 (0)</div>
                                </td>
                                <td>
                                    <button id="timeMax8" style="color:black; width:195px; height:30px" class="storebtn" onclick="buyTimeDimension(8)">Cost: 10</button>
                                </td>
                            </tr>
                        </table>
            </div>
            <div id="production" class="dimtab" style="display:none">
                <b>seconds of history:</b>
                <input type="number" value="10" onchange="updateChartValues()" id="chartDurationInput"></input>
                <b>update rate (in ms):</b>
                <input type="number" value="1000" onchange="updateChartValues()" id="chartUpdateRateInput"></input>
                <b>enabled:</b>
                <input id="chartOnOff" type="checkbox" onchange="enableChart()"></input>
                <b>dips:</b>
                <input id="chartDipsOnOff" type="checkbox" onchange="enableChartDips()"></input>
                <canvas id="normalDimChart" width="1500" height="500" style="user-select: none;"></canvas>
                <b>Exponents of antimatter per second</b>
            </div>
            <div id="footercontainer">

                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="options" class="tab" align="center">
            <br>
            <table>
                <tr>
                    <td><div><button id="theme" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 20px">Current theme: Normal</button></div></td>
                    <td><div><button id="notation" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">Notation: Standard</button></div></td>
                    <td><div><button id="newsbtn" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">关闭/开启新闻</button></div></td>
                </tr>
                <tr>
                    <td><div><button id="retry" onclick="toggleChallengeRetry()" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">Automatically retry challenges</button></div></td>
                    <td><div><button id="exportbtn" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 20px">导出</button></div></td>
                    <td><div><button id="importbtn" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 20px">导入</button></div></td>
                </tr>
                <tr>
                    <td><div><button id="challengeconfirmation" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 15px">Challenge confirmation ON</button></div></td>
                    <td><div><button id="save" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 20px">保存</button></div></td>
                    <td><div><button id="load" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 20px">加载</button></div></td>
                </tr>
                <tr id="cloudOptions" style="display:none">
                    <td><div><button onclick="" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">云端保存 (不可用)</button></div></td>
                    <td><div><button onclick="" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">云端加载 (不可用)</button></div></td>
                    <td><div><button id="cloud" onclick="" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">自动云端保存 (不可用)</button></div></td>
                </tr>
                <tr>
                    <td><div><button id="hotkeys" onclick="toggleHotkeys()" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">禁用快捷键</button></div></td>
                    <td><div><button id="reset" class="storebtn" style="color:black; width: 200px; height: 55px; font-size: 20px"><b>重置游戏</b></button></div></td>
                    <td><div><button id="commas" onclick="toggleCommas()" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%">Commas on large exponents ON</button></div></td>
                </tr>
                <tr>
                    <td><div><button id="eternityconf" onclick="toggleEternityConf()" class="storebtn" style="color:black; width: 200px; height: 55px; font-size:120%; display: none">Eternity confirmation ON</button></div></td>
                    <td><div class="storebtn" style="color:black; width: 198px; height: 55px; font-size:130%; text-align: center;"><b id="updaterate">Update Rate: 50ms</b><input id="updaterateslider" style="width: 170px;" type="range" min="33" max="200" value="50" class="slider" ></div></td>
                    <td><div><button id="animationoptionsbtn" class="storebtn" style="width: 200px; height: 55px; font-size:160%;">动画效果</button></div></td>
                </tr>
                <tr>


                </tr>



            </table>
            <div style="display: none;"><textarea id="exportOutput" style="color:black; width: 200px; height: 55px;"></textarea></div>
            <p>快捷键：1-8 购买 10 个维度, shift+1-8 购买 1 个维度, T 购买最大时间速率升级, shift+T 购买一个时间速率升级, M 全部购买最大<br>S 维度献祭，D 维度提升， G 星系，C 坍缩，A 开/关全部自动购买器，R 复制星系，E 永恒<br>在购买时间研究时按住 shift 可以一键购买直到那个研究的所有研究, 查看每个研究的编号, 并保存研究树.<br>热键在按住 Ctrl 键时不起作用。</p>
            <div id="footercontainer">
                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="statistics" class="tab" align="center" style="color: black; font-size: 12px; font-family: Typewriter; margin: 0 auto">
            <br>
            <tr>
                <td><button class="secondarytabbtn" onclick="showStatsTab('stats')">统计</button><td>
                <td><button class="secondarytabbtn" onclick="showStatsTab('challengetimes')" id="challengetimesbtn" style="display:none" >普通挑战记录</button><td>
                <td><button class="secondarytabbtn" onclick="showStatsTab('infchallengetimes')" id="infchallengesbtn" style="display:none">无限挑战记录</button><td>
                <td><button class="secondarytabbtn" onclick="showStatsTab('lasttenruns')" id="pastinfs" style="display:none">过去的无限</button><td>
                <td><button class="secondarytabbtn" onclick="showStatsTab('lastteneternities')" id="pasteternities" >过去的永恒</button><td>
            </tr>
            <div id="stats" class="statstab">
                <br>
                <div id="totalmoney">You have made x antimatter.</div>
                <div id="totalresets">You have made x dimensional boosts/shifts.</div>
                <div id="galaxies">You have made x Antimatter galaxies.</div>
                <br>
                <div id="eternitied">You have eternitied x times.</div>
                <div id="thiseternity">You have spent x in this eternity</div>
                <div id="besteternity">Your fastest eternity is in x.</div>
                <br>
                <div id="infinitied">You have infinitied x times.</div>
                <div id="infinitiedBank">You have infinitied x times.</div>
                <div id="bestInfinity">Your fastest infinity is in x.</div>
                <div id="thisInfinity">You have spent x in this Infinity.</div>
                <br>
                <div id="totalTime">You have played for </div>
                <div id="infoScale">If every antimatter were a planck volume, you would have enough to </div>
            </div>
            <div id="challengetimes" class="statstab" >
                <br>
                <div id="challengetime2"></div>
                <div id="challengetime3"></div>
                <div id="challengetime4"></div>
                <div id="challengetime5"></div>
                <div id="challengetime6"></div>
                <div id="challengetime7"></div>
                <div id="challengetime8"></div>
                <div id="challengetime9"></div>
                <div id="challengetime10"></div>
                <div id="challengetime11"></div>
                <div id="challengetime12"></div>
                <br>
                <div id="challengetimesum"></div>
            </div>
            <div id="infchallengetimes" class="statstab" >
                <br>
                <div id="infchallengetime1"></div>
                <div id="infchallengetime2"></div>
                <div id="infchallengetime3"></div>
                <div id="infchallengetime4"></div>
                <div id="infchallengetime5"></div>
                <div id="infchallengetime6"></div>
                <div id="infchallengetime7"></div>
                <div id="infchallengetime8"></div>
                <br>
                <div id="infchallengetimesum"></div>
            </div>
            <div id="lasttenruns" class="statstab">
                <div id="run1"></div>
                <div id="run2"></div>
                <div id="run3"></div>
                <div id="run4"></div>
                <div id="run5"></div>
                <div id="run6"></div>
                <div id="run7"></div>
                <div id="run8"></div>
                <div id="run9"></div>
                <div id="run10"></div>
                <br>
                <div id="averagerun"></div>
                <br>
            </div>
            <div id="lastteneternities" class="statstab">
                <div id="eternityrun1"></div>
                <div id="eternityrun2"></div>
                <div id="eternityrun3"></div>
                <div id="eternityrun4"></div>
                <div id="eternityrun5"></div>
                <div id="eternityrun6"></div>
                <div id="eternityrun7"></div>
                <div id="eternityrun8"></div>
                <div id="eternityrun9"></div>
                <div id="eternityrun10"></div>
                <br>
                <div id="averageEternityRun"></div>
                <br>
            </div>
            <div id="footercontainer">
                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="achievements" class="tab">
            <table class="table" align="center" style="margin: auto" id="achTabButtons">
                <tr>
                    <td><button class="secondarytabbtn" onclick="showAchTab('normalachievements')">成就</button></td>
                    <td><button class="secondarytabbtn" onclick="showAchTab('secretachievements')">隐藏成就</button></td>
                </tr>
            </table>
            <div id="normalachievements" class="achtab">
                    此修改版的额外修改:<br>
                    对于所有效果，当时间流逝更快是增益时，假设时间按 1000 倍速流动<br>
                    无限次数根据无限次数获得加成 (^(2/3), 最小 5, 最大 1000), 永恒次数获得类似的加成<br>
                    修改一个打破无限升级的效果, 添加三个永恒升级<br>
                    所有无限次数加成影响第一列第三个打破无限升级<br>
                    ------------------
                <div id="achmultlabel" style="font-size: 140%">当前成就给维度的加成: 1x</div>
                <div style="font-size: 140%">
                    所有成就在游戏开始时自动获得，因此你不再需要关心它们的内容。以下列出了成就的所有额外奖励。<br>
                    第一维度倍数 x5<br>
                    第八维度倍数 x1.1<br>
                    第一到第四维度倍数 x1.25<br>
                    第一到第七维度倍数 x1.02<br>
                    所有维度倍数 x1.21<br>
                    第 n 维度倍数 x(1+n/100)<br>
                    根据总游玩时间给所有维度极小加成<br>
                    根据未花费的反物质增强所有维度<br>
                    在每次无限的前 3 分钟, 所有维度变得更强<br>
                    在每次无限的前 1 分钟, 所有维度变得更强<br>
                    在每次无限的前 5 秒, 所有维度变得更强<br>
                    在每次无限的前 0.3 秒, 所有维度变得更强<br>
                    仅在挑战中，所有维度倍数 x1.4<br>
                    仅在挑战中, 在每次无限的前 3 分钟, 所有维度变得更强<br>
                    购买 10 个维度的加成 x1.01<br>
                    减少初始计时间隔 6%<br>
                    维度提升效果增强 1%<br>
                    加强维度献祭的效果<br>
                    献祭不重置你的维度<br>
                    星系效果增强 1%<br>
                    每个星系减少计时间隔 5%<br>
                    维度提升和反物质星系不重置反物质<br>
                    无限后初始拥有 1e25 反物质<br>
                    无限点数 x16<br>
                    根据坍缩时的反物质数量获得更多无限点数<br>
                    根据无限次数获得更多无限点数<br>
                    根据本次无限的时间获得更多无限点数<br>
                    时间超过 5 秒的无限提供 250 倍无限次数<br>
                    你的成就加成影响无限维度<br>
                    无限力量生产 x2<br>
                    无限不重置复制器数量<br>
                    复制器星系不再把你的复制器数量重置到 1, 而是 /1.8e308<br>
                    复制器在 1.8e308 个以下时速度 x2<br>
                    永恒后初始拥有 2e25 无限点数<br>
                    永恒后存储 5% 的无限次数<br>
                    永恒后立即解锁并完成所有无限挑战<br>
                    计时速率略微影响时间维度<br>
                    时间维度乘以你购买的时间研究数量<br>
                    进入时间膨胀时，膨胀时间和时间定理的获取速度 x2
                </div>
                <table id="achievementtable" style="margin: auto;display: none;">
                    <tr id="achRow1">
                        <td>
                            <div id="You gotta start somewhere" class="achievement achievementlocked" style="background-image: url(images/1.png)" ach-tooltip="Buy a single First Dimension."><br></div>
                        </td>
                        <td>
                            <div id="100 antimatter is a lot" class="achievement achievementlocked" style="background-image: url(images/2.png)" ach-tooltip="Buy a single Second Dimension."><br></div>
                        </td>
                        <td>
                            <div id="Half life 3 confirmed" class="achievement achievementlocked" style="background-image: url(images/3.png)" ach-tooltip="Buy a single Third Dimension."><br></div>
                        </td>
                        <td>
                            <div id="L4D: Left 4 Dimensions" class="achievement achievementlocked" style="background-image: url(images/4.png)" ach-tooltip="Buy a single Fourth Dimension."><br></div>
                        </td>
                        <td>
                            <div id="5 Dimension Antimatter Punch" class="achievement achievementlocked" style="background-image: url(images/5.png)" ach-tooltip="Buy a single Fifth Dimension."><br></div>
                        </td>
                        <td>
                            <div id="We couldn't afford 9" class="achievement achievementlocked" style="background-image: url(images/6.png)" ach-tooltip="Buy a single Sixth Dimension."><br></div>
                        </td>
                        <td>
                            <div id="Not a luck related achievement" class="achievement achievementlocked" style="background-image: url(images/7.png)" ach-tooltip="Buy a single Seventh Dimension."><br></div>
                        </td>
                        <td>
                            <div id="90 degrees to infinity" class="achievement achievementlocked" style="background-image: url(images/8.png)" ach-tooltip="Buy a single Eighth Dimension."><br></div>
                        </td>
                    </tr>
                    <tr id="achRow2">
                        <td>
                            <div id="To infinity!" class="achievement achievementlocked" style="background-image: url(images/9.png)" ach-tooltip="Reach Infinite antimatter. Reward: Start with 100 antimatter."><br></div>
                        </td>
                        <td>
                            <div id="Fake News" class="achievement achievementlocked" style="background-image: url(images/25.png)" ach-tooltip="Encounter 50 different news messages."><br></div>
                        </td>
                        <td>
                            <div id="The 9th Dimension is a lie" class="achievement achievementlocked" style="background-image: url(images/11.png)" ach-tooltip="Have exactly 99 Eighth Dimensions. Reward: Eighth Dimensions are 10% stronger."><br></div>
                        </td>
                        <td>
                            <div id="Antimatter Apocalypse" class="achievement achievementlocked" style="background-image: url(images/12.png)" ach-tooltip="Get over 10 QtVg (10e79) antimatter."><br></div>
                        </td>
                        <td>
                            <div id="Boosting to the max" class="achievement achievementlocked" style="background-image: url(images/13.png)" ach-tooltip="Buy 10 Dimension Boosts."><br></div>
                        </td>
                        <td>
                            <div id="You got past The Big Wall" class="achievement achievementlocked" style="background-image: url(images/14.png)" ach-tooltip="Buy an Antimatter Galaxy."><br></div>
                        </td>
                        <td>
                            <div id="Double Galaxy" class="achievement achievementlocked" style="background-image: url(images/15.png)" ach-tooltip="Buy 2 Antimatter Galaxies."><br></div>
                        </td>
                        <td>
                            <div id="There's no point in doing that" class="achievement achievementlocked" style="background-image: url(images/16.png)" ach-tooltip="Buy a single First Dimension when you have over 1e150 of them. Reward: First Dimensions are 10% stronger."><br></div>
                        </td>
                    </tr>
                    <tr id="achRow3">
                        <td>
                            <div id="I forgot to nerf that" class="achievement achievementlocked" style="background-image: url(images/17.png)" ach-tooltip="Get any Dimension multiplier over 10 No (10e30). Reward: First Dimensions are 5% stronger."><br></div>
                        </td>
                        <td>
                            <div id="The Gods are pleased" class="achievement achievementlocked" style="background-image: url(images/18.png)" ach-tooltip="Get over 600x from Dimension Sacrifice in total. Reward: Sacrifice is slightly stronger."><br></div>
                        </td>
                        <td>
                            <div id="That's a lot of infinites" class="achievement achievementlocked" style="background-image: url(images/19.png)" ach-tooltip="Reach Infinity 10 times."><br></div>
                        </td>
                        <td>
                            <div id="You didn't need it anyway" class="achievement achievementlocked" style="background-image: url(images/20.png)" ach-tooltip="Reach Infinite antimatter without having any 8th Dimensions. Reward: Dimensions 1-7 are 2% stronger."><br></div>
                        </td>
                        <td>
                            <div id="Don't you dare to sleep" class="achievement achievementlocked" style="background-image: url(images/10.png)" ach-tooltip="Be offline for over 6 hours in a row."><br></div>
                        </td>
                        <td>
                            <div id="Claustrophobic" class="achievement achievementlocked" style="background-image: url(images/22.png)" ach-tooltip="Go Infinite with just 1 Antimatter Galaxy. Reward: Reduces starting tick interval by 2%."><br></div>
                        </td>
                        <td>
                            <div id="That's fast!" class="achievement achievementlocked" style="background-image: url(images/23.png)" ach-tooltip="Go infinite in under 2 hours. Reward: Start with 1000 antimatter."><br></div>
                        </td>
                        <td>
                            <div id="I don't believe in Gods" class="achievement achievementlocked" style="background-image: url(images/24.png)" ach-tooltip="Buy a Galaxy without Sacrificing."><br></div>
                        </td>
                    </tr>
                    <tr id="achRow4">
                        <td>
                            <div id="Spreading Cancer" class="achievement achievementlocked" style="background-image: url(images/46.png)" ach-tooltip="Buy ten Galaxies in total while using cancer notation."><br></div>
                        </td>
                        <td>
                            <div id="Supersanic" class="achievement achievementlocked" style="background-image: url(images/26.png)" ach-tooltip="Have antimatter/sec exceed your current antimatter above 1 Tg (1e63)."><br></div>
                        </td>
                        <td>
                            <div id="Zero Deaths" class="achievement achievementlocked" style="background-image: url(images/27.png)" ach-tooltip="Get to Infinity without Dimension shifts, boosts or galaxies in a challenge. Reward: Dimensions 1-4 are 25% stronger."><br></div>
                        </td>
                        <td>
                            <div id="Over in 30 seconds" class="achievement achievementlocked" style="background-image: url(images/28.png)" ach-tooltip="Have antimatter/sec exceed your current antimatter for 30 consecutive seconds."><br></div>
                        </td>
                        <td>
                            <div id="Faster than a potato" class="achievement achievementlocked" style="background-image: url(images/29.png)" ach-tooltip="Get more than 100 Sx (100e21) ticks per second. Reward: Reduces starting tick interval by 2%."><br></div>
                        </td>
                        <td>
                            <div id="Multidimensional" class="achievement achievementlocked" style="background-image: url(images/30.png)" ach-tooltip="Reach 1 Qd (1e12) of all dimensions except 8th."><br></div>
                        </td>
                        <td>
                            <div id="Daredevil" class="achievement achievementlocked" style="background-image: url(images/31.png)" ach-tooltip="Complete 2 challenges."><br></div>
                        </td>
                        <td>
                            <div id="AntiChallenged" class="achievement achievementlocked" style="background-image: url(images/32.png)" ach-tooltip="Complete all the challenges. Reward: All dimensions are 10% stronger."><br></div>
                        </td>
                    </tr>
                    <tr id="achRow5">
                        <td>
                            <div id="Limit Break" class="achievement achievementlocked" style="background-image: url(images/33.png)" ach-tooltip="Break Infinity."><br></div>
                        </td>
                        <td>
                            <div id="Age of Automation" class="achievement achievementlocked" style="background-image: url(images/34.png)" ach-tooltip="Max any 9 autobuyers."><br></div>
                        </td>
                        <td>
                            <div id="Definitely not worth it" class="achievement achievementlocked" style="background-image: url(images/35.png)" ach-tooltip="Max all the autobuyers."><br></div>
                        </td>
                        <td>
                            <div id="That's faster!" class="achievement achievementlocked" style="background-image: url(images/36.png)" ach-tooltip="Infinity in 10 minutes or less. Reward: Start with 200000 antimatter."><br></div>
                        </td>
                        <td>
                            <div id="Forever isn't that long" class="achievement achievementlocked" style="background-image: url(images/37.png)" ach-tooltip="Infinity in 1 minute or less. Reward: Start with 1e10 antimatter."><br></div>
                        </td>
                        <td>
                            <div id="Many Deaths" class="achievement achievementlocked" style="background-image: url(images/38.png)" ach-tooltip="Complete the Second Dimension Autobuyer challenge in 3 minutes or less. Reward: All dimensions are stronger in first 3 minutes of infinity."><br></div>
                        </td>
                        <td>
                            <div id="Gift from the Gods" class="achievement achievementlocked" style="background-image: url(images/39.png)" ach-tooltip="Complete the Eighth Dimension Autobuyer challenge in 3 minutes or less. Reward: Dimensional sacrifices are a lot stronger."><br></div>
                        </td>
                        <td>
                            <div id="Is this hell?" class="achievement achievementlocked" style="background-image: url(images/40.png)" ach-tooltip="Complete the Tickspeed Autobuyer challenge in 3 minutes or less. Reward: Boost per 10 dimensions +1%."><br></div>
                        </td>
                    </tr>
                    <tr id="achRow6">
                        <td>
                            <div id="Bulked up" class="achievement achievementlocked" style="background-image: url(images/401.png)" ach-tooltip="Get all of your dimension bulk buyers to 512 or higher."><br></div>
                        </td>
                        <td>
                            <div id="Oh hey, you're still here" class="achievement achievementlocked" style="background-image: url(images/402.png)" ach-tooltip="Reach 1e8 IP per minute."><br></div>
                        </td>
                        <td>
                            <div id="A new beginning." class="achievement achievementlocked" style="background-image: url(images/403.png)" ach-tooltip="Begin generation of infinity power."><br></div>
                        </td>
                        <td>
                            <div id="1 million is a lot" class="achievement achievementlocked" style="background-image: url(images/404.png)" ach-tooltip="Reach 1e6 infinity power."><br></div>
                        </td>
                        <td>
                            <div id="Not-so-challenging" class="achievement achievementlocked" style="background-image: url(images/405.png)" ach-tooltip="Get the sum of all of your challenge times under 3 minutes. Reward: All dimensions are stronger in first 3 minutes of infinity, but only in challenges."><br></div>
                        </td>
                        <td>
                            <div id="Faster than a squared potato" class="achievement achievementlocked" style="background-image: url(images/406.png)" ach-tooltip="Reach 1e52 ticks per second. Reward: -2% tickspeed."><br></div>
                        </td>
                        <td>
                            <div id="Infinitely Challenging" class="achievement achievementlocked" style="background-image: url(images/407.png)" ach-tooltip="Complete an infinity challenge."><br></div>
                        </td>
                        <td>
                            <div id="You did this again just for the achievement right?" class="achievement achievementlocked" style="background-image: url(images/408.png)" ach-tooltip="Complete the Third Dimension Autobuyer challenge in 10 seconds or less. Reward: First dimensions are 50% stronger."><br></div>
                        </td>
                    </tr>
                    <tr id="achRow7">
                            <td>
                                <div id="ERROR 909: Dimension not found" class="achievement achievementlocked" style="background-image: url(images/41.png)" ach-tooltip="Get to infinity with only a single first Dimension without Dimension Boosts, Shifts or Galaxies while in Automatic Galaxies Challenge. Reward: First Dimensions are 3 times stronger."><br></div>
                            </td>
                            <td>
                                <div id="Can't hold all these infinities" class="achievement achievementlocked" style="background-image: url(images/42.png)" ach-tooltip="Get all Dimension multipliers over 1e308. Reward: All dimensions 10% stronger."><br></div>
                            </td>
                            <td>
                                <div id="This achievement doesn't exist" class="achievement achievementlocked" style="background-image: url(images/43.png)" ach-tooltip="Get 9.9999e9999 antimatter. Reward: Dimensions are more powerful the more unspent antimatter you have."><br></div>
                            </td>
                            <td>
                                <div id="End me" class="achievement achievementlocked" style="background-image: url(images/44.png)" ach-tooltip="Get the sum of all best challenge times under 5 seconds. Reward: All dimensions 40% stronger, but only in challenges."><br></div>
                            </td>
                            <td>
                                <div id="NEW DIMENSIONS???" class="achievement achievementlocked" style="background-image: url(images/45.png)" ach-tooltip="Unlock the 4th Infinity Dimension. Reward: Your achievement bonus affects Infinity Dimensions."><br></div>
                            </td>
                            <td>
                                <div id="One for each dimension" class="achievement achievementlocked" style="background-image: url(images/21.png)" ach-tooltip="Play for 8 days. Reward: Extremely small time multiplier."><br></div>
                            </td>
                            <td>
                                <div id="How the antitables have turned" class="achievement achievementlocked" style="background-image: url(images/47.png)" ach-tooltip="Get 8th Dimension multiplier to be highest, 7th Dimension multiplier second highest etc. Reward: Each dimension gains a boost proportional to tier (8th dimension gets 8%, 7th gets 7%, etc.)"><br></div>
                            </td>
                            <td>
                                <div id="Blink of an eye" class="achievement achievementlocked" style="background-image: url(images/48.gif)" ach-tooltip="Get to Infinity in under 200 milliseconds. Reward: Start with 1e25 antimatter and all dimensions are stronger in first 300ms of infinity."><br></div>
                            </td>
                        </tr>
                        <tr id="achRow8">
                            <td>
                                <div id="Hevipelle did nothing wrong" class="achievement achievementlocked" style="background-image: url(images/49.png)" ach-tooltip="Beat Infinity Challenge 5 in 10 seconds or less."><br></div>
                            </td>
                            <td>
                                <div id="Anti-antichallenged" class="achievement achievementlocked" style="background-image: url(images/50.png)" ach-tooltip="Complete 8 Infinity Challenges."><br></div>
                            </td>
                            <td>
                                <div id="YOU CAN GET 50 GALAXIES!??" class="achievement achievementlocked" style="background-image: url(images/51.png)" ach-tooltip="Get 50 galaxies. Reward: Tickspeed is 5% lower per galaxy."><br></div>
                            </td>
                            <td>
                                <div id="I got a few to spare" class="achievement achievementlocked" style="background-image: url(images/52.png)" ach-tooltip="Reach 1e35000 antimatter. Reward: Dimensions are more powerful the more unspent antimatter you have."><br></div>
                            </td>
                            <td>
                                <div id="All your IP are belong to us" class="achievement achievementlocked" style="background-image: url(images/53.png)" ach-tooltip="Big Crunch for 1e150 IP. Reward: Additional 4x multiplier to IP."><br></div>
                            </td>
                            <td>
                                <div id="Do you even bend time bro?" class="achievement achievementlocked" style="background-image: url(images/54.png)" ach-tooltip="Reach -99.9% tickspeed per upgrade. Reward: Galaxies are 1% more powerful."><br></div>
                            </td>
                            <td>
                                <div id="2 Million Infinities" class="achievement achievementlocked" style="background-image: url(images/55.png)" ach-tooltip="Infinity 2000000 times. Reward: Infinities more than 5 seconds long give 250 infinitied stat."><br></div>
                            </td>
                            <td>
                                <div id="Yet another infinity reference" class="achievement achievementlocked" style="background-image: url(images/56.png)" ach-tooltip="Get xInfinity multiplier in a single sacrifice. Reward: Sacrifices are stronger."><br></div>
                            </td>
                        </tr>
                        <tr id="achRow9">
                            <td>
                                <div id="Ludicrous Speed" class="achievement achievementlocked" style="background-image: url(images/57.png)" ach-tooltip="Big Crunch for 1e200 IP in 2 seconds or less. Reward: All dimensions are significantly stronger in first 5 seconds of infinity."><br></div>
                            </td>
                            <td>
                                <div id="I brake for nobody" class="achievement achievementlocked" style="background-image: url(images/58.png)" ach-tooltip="Big Crunch for 1e250 IP in 20 seconds or less. Reward: All dimensions are significantly stronger in first 60 seconds of infinity."><br></div>
                            </td>
                            <td>
                                <div id="MAXIMUM OVERDRIVE" class="achievement achievementlocked" style="background-image: url(images/59.png)" ach-tooltip="Reach 1e300 IP/min. Reward: Additional 4x multiplier to IP."><br></div>
                            </td>
                            <td>
                                <div id="Minute of infinity" class="achievement achievementlocked" style="background-image: url(images/60.png)" ach-tooltip="Reach 1e260 infinity power. Reward: Double infinity power gain."><br></div>
                            </td>
                            <td>
                                <div id="Is this safe?" class="achievement achievementlocked" style="background-image: url(images/61.png)" ach-tooltip="Gain Infinite replicanti in 30 minutes. Reward: Infinity doesn't reset your replicanti amount."><br></div>
                            </td>
                            <td>
                                <div id="Time is relative" class="achievement achievementlocked" style="background-image: url(images/62.png)" ach-tooltip="Go Eternal."><br></div>
                            </td>
                            <td>
                                <div id="Yes. This is hell." class="achievement achievementlocked" style="background-image: url(images/63.png)" ach-tooltip="Get the sum of Infinity Challenge times under 6.66 seconds."><br></div>
                            </td>
                            <td>
                                <div id="0 degrees from infinity" class="achievement achievementlocked" style="background-image: url(images/64.png)" ach-tooltip="Unlock the 8th Infinity Dimension."><br></div>
                            </td>
                        </tr>
                        <tr id="achRow10">
                            <td>
                                <div id="Costco sells dimboosts now" class="achievement achievementlocked" style="background-image: url(images/65.png)" ach-tooltip="Bulk buy 750 dimension boosts at once. Reward: Dimension boosts are 1% more powerful (to normal dims)."><br></div>
                            </td>
                            <td>
                                <div id="This mile took an Eternity" class="achievement achievementlocked" style="background-image: url(images/66.png)" ach-tooltip="Get all eternity milestones."><br></div>
                            </td>
                            <td>
                                <div id="This achievement doesn't exist II" class="achievement achievementlocked" style="background-image: url(images/67.png)" ach-tooltip="Reach 9.99999e999 IP. Reward: Gain more IP based on amount of antimatter you had when crunching."><br></div>
                            </td>
                            <td>
                                <div id="That wasn't an eternity" class="achievement achievementlocked" style="background-image: url(images/68.png)" ach-tooltip="Eternity in under 30 seconds. Reward: Start eternities with 2e25 IP."><br></div>
                            </td>
                            <td>
                                <div id="Infinite time" class="achievement achievementlocked" style="background-image: url(images/69.png)" ach-tooltip="Get 308 tickspeed upgrades (in one eternity) from time dimensions. Reward: Time dimensions are affected slightly more by tickspeed."><br></div>
                            </td>
                            <td>
                                <div id="The swarm" class="achievement achievementlocked" style="background-image: url(images/70.png)" ach-tooltip="Get 10 replicanti galaxies in 15 seconds."><br></div>
                            </td>
                            <td>
                                <div id="Do you really need a guide for this?" class="achievement achievementlocked" style="background-image: url(images/71.png)" ach-tooltip="Eternity with the infinitied stat under 10."><br></div>
                            </td>
                            <td>
                                <div id="We could afford 9" class="achievement achievementlocked" style="background-image: url(images/72.png)" ach-tooltip="Eternity with exactly 9 replicanti."><br></div>
                            </td>
                        </tr>
                        <tr id="achRow11">
                            <td>
                                <div id="Yo dawg, I heard you liked infinities..." class="achievement achievementlocked" style="background-image: url(images/73.png)" ach-tooltip="Have all your past 10 infinities be at least 1.79e308 times higher IP than the previous one. Reward: Your antimatter doesn't reset on dimboost/galaxy"><br></div>
                            </td>
                            <td>
                                <div id="Never again" class="achievement achievementlocked" style="background-image: url(images/74.png)" ach-tooltip="Max out your third Eternity upgrade. Reward: The limit is a bit higher."><br></div>
                            </td>
                            <td>
                                <div id="Long lasting relationship" class="achievement achievementlocked" style="background-image: url(images/75.png)" ach-tooltip="Have your Infinity power per second exceed your infinity power for 60 consecutive seconds during a single infinity."><br></div>
                            </td>
                            <td>
                                <div id="You're a mistake" class="achievement achievementlocked" style="background-image: url(images/76.png)" ach-tooltip="Fail an Eternity challenge. Reward: A fading sense of accomplishment."><br></div>
                            </td>
                            <td>
                                <div id="I wish I had gotten 7 eternities" class="achievement achievementlocked" style="background-image: url(images/77.png)" ach-tooltip="Start an Infinity challenge inside an Eternity challenge."><br></div>
                            </td>
                            <td>
                                <div id="Do I really need to infinity" class="achievement achievementlocked" style="background-image: url(images/78.png)" ach-tooltip="Eternity with only 1 infinity. Reward: Multiplier to IP based on infinities."><br></div>
                            </td>
                            <td>
                                <div id="8 nobody got time for that" class="achievement achievementlocked" style="background-image: url(images/79.png)" ach-tooltip="Eternity without buying dimensions 1-7."><br></div>
                            </td>
                            <td>
                                <div id="IT'S OVER 9000" class="achievement achievementlocked" style="background-image: url(images/80.png)" ach-tooltip="Get a total sacrifice multiplier of 1e9000. Reward: Sacrifice doesn't reset your dimensions."><br></div>
                            </td>
                        </tr>
                        <tr id="achRow12">
                            <td>
                                <div id="Can you get infinite IP?" class="achievement achievementlocked" style="background-image: url(images/81.png)" ach-tooltip="Reach 1e30008 IP."><br></div>
                            </td>
                            <td>
                                <div id="You're already dead." class="achievement achievementlocked" style="background-image: url(images/82.png)" ach-tooltip="Eternity without buying dimensions 2-8."><br></div>
                            </td>
                            <td>
                                <div id="5 more eternities until the update" class="achievement achievementlocked" style="background-image: url(images/83.png)" ach-tooltip="Complete 50 unique eternity challenge tiers."><br></div>
                            </td>
                            <td>
                                <div id="Eternities are the new infinity" class="achievement achievementlocked" style="background-image: url(images/84.png)" ach-tooltip="Eternity in under 200ms."><br></div>
                            </td>
                            <td>
                                <div id="Like feasting on a behind" class="achievement achievementlocked" style="background-image: url(images/85.png)" ach-tooltip="Get 1e100 IP without any infinities, dimensions, or resets (not including upgrades). Reward: IP multiplier based on time spent this infinity."><br></div>
                            </td>
                            <td>
                                <div id="Popular music" class="achievement achievementlocked" style="background-image: url(images/86.png)" ach-tooltip="Have 180 times more non-bonus replicanti galaxies than normal galaxies. Reward: Replicanti galaxies divide your replicanti by 1.79e308 instead of resetting them to 1."><br></div>
                            </td>
                            <td>
                                <div id="But I wanted another prestige layer..." class="achievement achievementlocked" style="background-image: url(images/87.png)" ach-tooltip="Reach 1e308 EP."><br></div>
                            </td>
                            <td>
                                <div id="What do I have to do to get rid of you" class="achievement achievementlocked" style="background-image: url(images/88.png)" ach-tooltip="Reach 1e22000 IP without any time studies. Reward: Time dimensions are multiplied by the number of studies you have."><br></div>
                            </td>
                        </tr>
                        <tr id="achRow13">
                            <td>
                                <div id="No ethical consumption" class="achievement achievementlocked" style="background-image: url(images/89.png)" ach-tooltip="Get 5 billion banked infinities. Reward: After eternity you permanently keep 5% of your infinities."><br></div>
                            </td>
                            <td>
                                <div id="Unique snowflakes" class="achievement achievementlocked" style="background-image: url(images/90.png)" ach-tooltip="Have 540 galaxies without having any Replicated galaxies."><br></div>
                            </td>
                            <td>
                                <div id="I never liked this infinity stuff anyway" class="achievement achievementlocked" style="background-image: url(images/91.png)" ach-tooltip="Reach 1e140,000 IP without buying IDs or IP multipliers."><br></div>
                            </td>
                            <td>
                                <div id="When will it be enough?" class="achievement achievementlocked" style="background-image: url(images/92.png)" ach-tooltip="Reach 1e20,000 replicanti. Reward: You gain replicanti 2 times faster under 1.79e308 replicanti."><br></div>
                            </td>
                            <td>
                                <div id="Faster than a potato^286078" class="achievement achievementlocked" style="background-image: url(images/93.png)" ach-tooltip="Get more than 1e8,296,262 ticks per second."><br></div>
                            </td>
                            <td>
                                <div id="I told you already, time is relative" class="achievement achievementlocked" style="background-image: url(images/94.png)" ach-tooltip="Dilate time."><br></div>
                            </td>
                            <td>
                                <div id="Now you're thinking with dilation!" class="achievement achievementlocked" style="background-image: url(images/95.png)" ach-tooltip="Eternity for 1e600 EP in 1 minute or less while dilated."><br></div>
                            </td>
                            <td>
                                <div id="This is what I have to do to get rid of you." class="achievement achievementlocked" style="background-image: url(images/96.png)" ach-tooltip="Reach 1e20000 IP without any time studies while dilated."><br></div>
                            </td>
                        </tr>
                </table>
            </div>
            <div id="secretachievements" class="achtab" style="display:none;">
                <table id="secretachievementtable" style="margin: auto">
                    <tr id="secretAchRow1">
                        <td>
                            <div id="The first one's always free" class="achievement achievementlocked" style="background-image: url(images/s1.png)" ach-tooltip="The first one's always free."><br></div>
                        </td>
                        <td>
                            <div id="Just in case" class="achievement achievementlocked" style="background-image: url(images/s2.png)" ach-tooltip="Just in case."><br></div>
                        </td>
                        <td>
                            <div id="It pays to have respect" class="achievement achievementlocked" style="background-image: url(images/s3.png)" ach-tooltip="It pays to have respect."><br></div>
                        </td>
                        <td>
                            <div id="So do I" class="achievement achievementlocked" style="background-image: url(images/s4.png)" ach-tooltip="So do I."><br></div>
                        </td>
                        <td>
                            <div id="Do a barrel roll!" class="achievement achievementlocked" style="background-image: url(images/s5.png)" ach-tooltip="Do a barrel roll!"><br></div>
                        </td>
                        <td>
                            <div id="Do you enjoy pain?" class="achievement achievementlocked" style="background-image: url(images/s6.png)" ach-tooltip="Do you enjoy pain?"><br></div>
                        </td>
                        <td>
                            <div id="30 Lives" class="achievement achievementlocked" style="background-image: url(images/s7.png)" ach-tooltip="30 Lives."><br></div>
                        </td>
                        <td>
                            <div id="Do you feel lucky? Well do ya punk?" class="achievement achievementlocked" style="background-image: url(images/s8.png)" ach-tooltip="Do you feel lucky? Well do ya punk?"><br></div>
                        </td>
                    </tr>
                    <tr id="secretAchRow2">
                        <td>
                            <div id="Go study in real life instead" class="achievement achievementlocked" style="background-image: url(images/s9.png)" ach-tooltip="Go study in real life instead."><br></div>
                        </td>
                        <td>
                            <div id="Cancer = Spread" class="achievement achievementlocked" style="background-image: url(images/s10.png)" ach-tooltip="Cancer = Spread."><br></div>
                        </td>
                        <td>
                            <div id="Stop right there criminal scum!" class="achievement achievementlocked" style="background-image: url(images/s11.png)" ach-tooltip="Stop right there criminal scum!"><br></div>
                        </td>
                        <td>
                            <div id="Real news" class="achievement achievementlocked" style="background-image: url(images/s12.png)" ach-tooltip="Real news."><br></div>
                        </td>
                        <td>
                            <div id="Shhh... It's a secret" class="achievement achievementlocked" style="background-image: url(images/s13.png)" ach-tooltip="Shhh... It's a secret."><br></div>
                        </td>
                        <td>
                            <div id="You're a failure" class="achievement achievementlocked" style="background-image: url(images/s14.png)" ach-tooltip="You're a failure."><br></div>
                        </td>
                        <td>
                            <div id="It's not called matter dimensions is it?" class="achievement achievementlocked" style="background-image: url(images/s15.png)" ach-tooltip="It's not called matter dimensions is it?"><br></div>
                        </td>
                        <td>
                            <div id="Nice." class="achievement achievementlocked" style="background-image: url(images/s16.png)" ach-tooltip="Nice."><br></div>
                        </td>
                    </tr>
                    <tr id="secretAchRow3">
                        <td>
                            <div id="You should download some more RAM" class="achievement achievementlocked" style="background-image: url(images/s17.png)" ach-tooltip="You should download some more RAM."><br></div>
                        </td>
                        <td>
                            <div id="Less than or equal to 0.001" class="achievement achievementlocked" style="background-image: url(images/s18.png)" ach-tooltip="Less than or equal to 0.001."><br></div>
                        </td>
                        <td>
                            <div id="A sound financial decision" class="achievement achievementlocked" style="background-image: url(images/s19.png)" ach-tooltip="A sound financial decision."><br></div>
                        </td>
                        <td>
                            <div id="You do know how these work, right?" class="achievement achievementlocked" style="background-image: url(images/s20.png)" ach-tooltip="You do know how these work, right?"><br></div>
                        </td>
                        <td>
                            <div id="Should we tell them about buy max..." class="achievement achievementlocked" style="background-image: url(images/s21.png)" ach-tooltip="Should we tell them about buy max..."><br></div>
                        </td>
                        <td>
                            <div id="While you were away... Nothing happened." class="achievement achievementlocked" style="background-image: url(images/s22.png)" ach-tooltip="While you were away... Nothing happened."><br></div>
                        </td>
                        <td>
                            <div id="You followed the instructions" class="achievement achievementlocked" style="background-image: url(images/s23.png)" ach-tooltip="You followed the instructions."><br></div>
                        </td>
                        <td>
                            <div id="Professional bodybuilder" class="achievement achievementlocked" style="background-image: url(images/s24.png)" ach-tooltip="Professional bodybuilder."><br></div>
                        </td>
                    </tr>
                </table>
            </div>
            <div>
                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

        <div id="autobuyers" class="tab" align="center">
            <br>
            <table class="table" style="margin: 0 auto">
                <button class="storebtn" id="toggleautobuyers" style="font-size: 100%; width: 150px; height: 40px; margin: 3px" onclick="toggleAutoBuyers()">开/关所有自动购买</button>
                <button class="storebtn" id="togglebulk" style="font-size: 100%; width: 150px; height: 40px;margin: 3px" onclick="toggleBulk()">Disable bulk buy                     </button>
                <button class="storebtn" id="togglecrunchmode" style="font-size: 100%; width: 150px; height: 40px;margin: 3px; display: none" onclick="toggleCrunchMode()">Auto crunch mode: amount</button>
                <br>
                <div class="autoBuyerDiv" id="autoBuyerEter">
                    <div>自动永恒</div>
                    <div><span>自动永恒需要的永恒点:</span>
                    <input type="text" onchange="updatePriorities()" id="priority13"></input></div>
                    <br>
                    <span style="font-size: 80%">开启</span>
                    <input type="checkbox" onchange="updateAutobuyers()"  id="eternityison"></input>
                </div>
                <tr>
                        <td>
                            <div class="autoBuyerDiv" id="autoBuyerDimBoost" style="font-size: 11px;">
                                <div>自动维度提升</div>
                                <button class="autobuyerbtn" id="buyerBtnDimBoost">46% smaller interval<br>Cost: 2 points</button>
                                <div style="font-size: 80%"id="intervalDimBoost">Current interval: 30 seconds</div>
                                <span style="font-size: 80%">最多使用的第八维度:</span>
                                <input type="text" onchange="updatePriorities()" id="priority10"></input>
                                <br>
                                <span style="font-size: 80%">无视前一条永远进行维度提升需要的星系:</span>
                                <input type="text" onchange="updatePriorities()" id="overGalaxies"></input>
                                <br>
                                <div id="bulkdimboost">
                                    <span style="font-size: 80%" id="bulklabel">Bulk DimBoost amount:</span>
                                    <input type="text" onchange="updatePriorities()" id="bulkDimboost"></input>
                                </div>
                                <br>
                                <span style="font-size: 80%">开启</span>
                                <input type="checkbox" onchange="updateAutobuyers()"   id="10ison"></input>
                            </div>
                        </td>
                        <td>
                            <div class="autoBuyerDiv" id="autoBuyerGalaxies">
                                <div>自动星系</div>
                                <button class="autobuyerbtn" id="buyerBtnGalaxies">46% smaller interval<br>Cost: 2 points</button>
                                <div style="font-size: 80%"id="intervalGalaxies">Current interval: 30 seconds</div>
                                <span>最大星系:</span>
                                <input type="text" onchange="updatePriorities()" id="priority11"></input>
                                <br>
                                <div id="galaxybulk" style="display: none">
                                    <span style="font-size: 80%">每 X 秒最大化星系:</span>
                                    <input type="text" onchange="updatePriorities()" id="bulkgalaxy"></input>
                                </div>
                                <br>
                                <span style="font-size: 80%">开启</span>
                                <input type="checkbox" onchange="updateAutobuyers()"   id="11ison"></input>
                            </div>
                        </td>
                        <td>
                            <div class="autoBuyerDiv" id="autoBuyerInf">
                                <div>自动坍缩</div>
                                <button class="autobuyerbtn" id="buyerBtnInf">46% smaller interval<br>Cost: 2 points</button>
                                <div style="font-size: 80%"id="intervalInf">Current interval: 60 seconds</div>
                                <div id="iplimit"><span id="limittext">Amount of IP to wait until reset:</span>
                                <input type="text" onchange="updatePriorities()" id="priority12"></input></div>
                                <br>
                                <span style="font-size: 80%">开启</span>
                                <input type="checkbox" onchange="updateAutobuyers()"   id="12ison"></input>
                            </div>
                        </td>
                    </tr>
                    <tr>

                    </tr>
                <tr>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer1">
                            <div>第一维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn1">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn1">Buys singles</button>
                            <div style="font-size: 80%"id="interval1">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority1">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="1ison"></input>
                        </div>
                    </td>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer2">
                            <div>第二维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn2">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn2">Buys singles</button>
                            <div style="font-size: 80%"id="interval2">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority2">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="2ison"></input>
                        </div>
                    </td>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer3">
                            <div>第三维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn3">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn3">Buys singles</button>
                            <div style="font-size: 80%"id="interval3">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority3">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="3ison"></input>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer4">
                            <div>第四维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn4">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn4">Buys singles</button>
                            <div style="font-size: 80%"id="interval4">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority4">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="4ison"></input>
                        </div>
                    </td>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer5">
                            <div>第五维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn5">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn5">Buys singles</button>
                            <div style="font-size: 80%"id="interval5">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority5">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="5ison"></input>
                        </div>
                    </td>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer6">
                            <div>第六维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn6">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn6">Buys singles</button>
                            <div style="font-size: 80%"id="interval6">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority6">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="6ison"></input>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer7">
                            <div>第七维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn7">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn7">Buys singles</button>
                            <div style="font-size: 80%"id="interval7">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority7">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="7ison"></input>
                        </div>
                    </td>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyer8">
                            <div>第八维度自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtn8">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtn8">Buys singles</button>
                            <div style="font-size: 80%"id="interval8">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority8">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="8ison"></input>
                        </div>
                    </td>
                    <td>
                        <div class="autoBuyerDiv" id="autoBuyerTickSpeed">
                            <div>时间速率升级自动购买</div>
                            <button class="autobuyerbtn" id="buyerBtnTickSpeed">46% smaller interval<br>Cost: 2 points</button>
                            <button class="autobuyerbtn" id="toggleBtnTickSpeed">Buys singles</button>
                            <div style="font-size: 80%"id="intervalTickSpeed">Current interval: 5 seconds<br></div>
                            <span>优先级:</span>
                            <select onchange="updatePriorities()" id="priority9">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                            <option value="6">6</option>
                            <option value="7">7</option>
                            <option value="8">8</option>
                            <option value="9">9</option>
                            </select>
                            <br>
                            <span style="font-size: 80%">开启</span>
                            <input type="checkbox" onchange="updateAutobuyers()"   id="9ison"></input>
                        </div>
                    </td>
                </tr>
            </table>
            <div class="autoBuyerDiv" id="autoBuyerSac">
                <div>自动献祭</div>
                <div id="intervalSac" style="font-size: 80%">Current interval: 0.10 seconds</div>
                <div id="iplimit"><span>当献祭倍数超过此值时献祭:</span>
                <input type="text" onchange="updatePriorities()" id="prioritySac"></input></div>
                <br>
                <span style="font-size: 80%">开启</span>
                <input type="checkbox" onchange="updateAutobuyers()" id="13ison"></input>
            </div>

            <div>
                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        

        <div id="challenges" class="tab">
            <br>
            <button class="storebtn" style="font-size: 100%; width:200px" onclick="exitChallenge()">退出挑战</button><br><br>
            <table class="table" align="center" style="margin: auto; display: none" id="challTabButtons">
                <tr>
                    <td><button class="secondarytabbtn" onclick="showChallengesTab('challenges')">普通挑战</button></td>
                    <td><button class="secondarytabbtn" onclick="showChallengesTab('breakchallenges')">无限挑战</button></td>
                    <td><button id="eterctabbtn" class="secondarytabbtn" onclick="showChallengesTab('eternitychallenges')">永恒挑战</button></td>
                </tr>
            </table>
            <div id="nextchall"></div>
            <div id="challenges" class="challengeTab">
                <table class="table" style="margin: 0 auto">
                    <tr>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">第一次到达无限.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="challenge1" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第一维度自动购买</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">购买任何东西都会暂停生产, 3 分钟内逐渐恢复.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge2" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第二维度自动购买</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">第一维度被大大削弱, 但是获得一个指数增长的加成. 加成在重置时重置.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge3" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第三维度自动购买</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">购买任何维度都会清空更低的维度, 类似于没有加成的献祭.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge8" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第四维度自动购买</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">时间速率加成从 7% 开始.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge6" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第五维度自动购买</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">每个维度改为消耗往前第二个维度购买, 并调整价格</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge10" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第六维度自动购买</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">购买 10 个维度的加成在 0.3 到 10 随机</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge9" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第七维度自动购买</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">维度提升和星系不提供加成, 献祭重置所有东西但是大大加强</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge11" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 第八维度自动购买</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">当你购买 10 个某一维度或者购买时间速率升级时, 价格相等的其他东西会跳到下一次购买的价格.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge5" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 时间速率升级自动购买</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">只有六个维度, 调整维度提升和星系的价格.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge4" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 自动维度提升</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">有同样不断增加的物质. 当物质超过你的反物质时, 将强制提升一次并不提供加成.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge12" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 自动星系</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class= "challengediv">
                                <span style="font-size: 110%">每个维度改为生产往前第二个维度, 第一维度生产更少反物质.</span>
                                <br>
                                <br>

                                <div class="outer">

                                    <button id="challenge7" class="challengesbtn">开始</button>
                                    <br>
                                    <span>奖励: 自动坍缩</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="breakchallenges" class="challengeTab">
                <table  class="table" style="margin: 0 auto">
                    <tr>
                        <td>
                            <div class="infchallengediv" id="postc1div" style="height: 140px; display: none">
                                <span>所有普通挑战(除了自动时间速率升级挑战和自动坍缩挑战)同时生效.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="postc1" class="challengesbtn" onclick="startChallenge('postc1', new Decimal('1e850'))">开始</button>
                                    <br>
                                    <span id="postc1goal" >Goal: 1e850</span><br>
                                    <span>奖励: 每完成一个无限挑战, 给所有无限维度 1.3x 乘数</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="infchallengediv" id="postc2div" style="height: 140px; display: none">
                                <span>你拥有第八维度后每 8 帧自动献祭.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="postc2" class="challengesbtn" onclick="startChallenge('postc2', new Decimal('1e10500'))">开始</button>
                                    <br>
                                    <span id="postc2goal" >Goal: 1e10500</span><br>
                                    <span>奖励: 解锁自动献祭, 并加强献祭的效果</span>
                                </div>
                            </div>
                        </td>

                    </tr>
                    <tr>
                        <td>
                            <div class="infchallengediv" id="postc3div" style="height: 140px; display: none">
                                <span>时间速率不再减小, 时间速率升级基于星系数量给所有普通维度加成.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="postc3" class="challengesbtn" onclick="startChallenge('postc3', new Decimal('1e5000'))">开始</button>
                                    <br>
                                    <span id="postc3goal" >Goal: 1e5000</span><br>
                                    <span>奖励: 时间速率升级基于星系数量给所有普通维度加成</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="infchallengediv" id="postc4div" style="height: 140px; display: none">
                                <span>只有最后购买的维度生产正常, 其余维度的生产大大减少.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="postc4" class="challengesbtn" onclick="startChallenge('postc4', new Decimal('1e13000'))">开始</button>
                                    <br>
                                    <span id="postc4goal" >Goal: 1e13000</span><br>
                                    <span>奖励: 所有普通维度倍数 ^1.05</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="infchallengediv" id="postc5div" style="height: 140px; display: none">
                                <span>购买维度 1-4 时, 花费比它小的其他内容的价格上升. 购买维度 5-8 时, 花费比它大的其他内容的价格上升. 购买时间速率升级时, 花费与它相等的其他内容的价格上升.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="postc5" class="challengesbtn" onclick="startChallenge('postc5', new Decimal('1e11111'))">开始</button>
                                    <br>
                                    <span id="postc5goal" >Goal: 1e11111</span><br>
                                    <span>奖励: 星系增强 10%, 并把星系与维度提升需要的维度个数减少 1</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="infchallengediv" id="postc6div" style="height: 140px; display: none">
                                <span>有指数上升的物质, 你所有维度的倍数除以物质.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="postc6" class="challengesbtn" onclick="startChallenge('postc6', new Decimal('2e22222'))">开始</button>
                                    <br>
                                    <span id="postc6goal" >Goal: 2e22222</span><br>
                                    <span>奖励: 时间速率以削弱的效果影响无限维度</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                            <td>
                                <div class="infchallengediv" id="postc7div" style="height: 140px; display: none">
                                    <span>你不能获得星系, 但是维度提升乘数 2.5x -> 10x</span>
                                    <br>
                                    <br>
                                    <div class="outer">
                                        <button id="postc7" class="challengesbtn" onclick="startChallenge('postc7', new Decimal('1e10000'))">开始</button>
                                        <br>
                                        <span id="postc7goal" >Goal: 1e10000</span><br>
                                        <span>奖励: 维度提升乘数 2.5x -> 4x</span>
                                    </div>
                                </div>
                            </td>
                            <td>
                                <div class="infchallengediv" id="postc8div" style="height: 140px; display: none">
                                    <span>生产在购买任何东西后恢复正常, 此后迅速下降.</span>
                                    <br>
                                    <br>
                                    <div class="outer">
                                        <button id="postc8" class="challengesbtn" onclick="startChallenge('postc8', new Decimal('1e27000'))">开始</button>
                                        <br>
                                        <span id="postc8goal" >Goal: 1e27000</span><br>
                                        <span>奖励: 根据第一和第八维度的倍数给第二到第七维度倍数.</span>
                                    </div>
                                </div>
                            </td>
                        </tr>
                </table>

            </div>
            <div id="eternitychallenges" class="challengeTab">
                <div>可以多次完成永恒挑战以获得更大奖励, 最多可以完成 5 次.</div>
                <table  class="table" style="margin: 0 auto">
                    <tr>
                        <td>
                            <div class="eterchallengediv" id="eterc1div" style="height: 140px; display: none">
                                <span>时间维度被禁用.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc1" class="challengesbtn" onclick="startEternityChallenge('eterc1', new Decimal('1e1800'), new Decimal('1e200'))">开始</button>
                                    <br>
                                    <span id="eterc1completed">Completed 0 Times.</span><br>
                                    <span id="eterc1goal" >Goal: 1e2000 IP</span><br>
                                    <span id="ec1reward">Reward: Xx on all Time Dimensions (based on time spent this Eternity)</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="eterchallengediv" id="eterc2div" style="height: 140px; display: none">
                                <span>无限维度被禁用.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc2" class="challengesbtn" onclick="startEternityChallenge('eterc2', new Decimal('1e975'), new Decimal('1e175'))">开始</button>
                                    <br>
                                    <span id="eterc2completed">Completed 0 Times.</span><br>
                                    <span id="eterc2goal" >Goal: 1e1000 IP</span><br>
                                    <span id="ec2reward">Reward: idk lol</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="eterchallengediv" id="eterc3div" style="height: 140px; display: none">
                                <span>普通维度 5-8 不生产任何东西, 维度献祭被禁用.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc3" class="challengesbtn" onclick="startEternityChallenge('eterc3', new Decimal('1e600'), new Decimal('1e75'))">开始</button>
                                    <br>
                                    <span id="eterc3completed">Completed 0 Times.</span><br>
                                    <span id="eterc3goal" >Goal: 1e750 IP</span><br>
                                    <span id="ec3reward">Reward: idk lol</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="eterchallengediv" id="eterc4div" style="height: 140px; display: none">
                                <span>所有无限次数的乘数和生成器被禁用.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc4" class="challengesbtn" onclick="startEternityChallenge('eterc4', new Decimal('1e2750'), new Decimal('1e550'))">开始</button>
                                    <br>
                                    <span id="eterc4completed">Completed 0 Times.</span><br>
                                    <span id="eterc4goal" >Goal: 1e4250 IP in 20 infinities</span><br>
                                    <span id="ec4reward">Reward: Infinity Dimension multiplier from unspent IP</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="eterchallengediv" id="eterc5div" style="height: 140px; display: none">
                                <span>遥远星系的价格上升立即开始 (通常在 100 星系开始), 极远星系的价格上升在 200 星系开始 (通常在 800 星系开始). 维度提升的价格上升大大加快.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc5" class="challengesbtn" onclick="startEternityChallenge('eterc5', new Decimal('1e750'), new Decimal('1e400'))">开始</button>
                                    <br>
                                    <span id="eterc5completed">Completed 0 Times.</span><br>
                                    <span id="eterc5goal" >Goal: 1e3000 IP</span><br>
                                    <span id="ec5reward">Reward: Galaxy cost scaling starts 10 galaxies later</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="eterchallengediv" id="eterc6div" style="height: 140px; display: none">
                                <span>不能获得正常星系, 但是最大复制器星系升级的需求大大降低.
                                </span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc6" class="challengesbtn" onclick="startEternityChallenge('eterc6', new Decimal('1e850'), new Decimal('1e250'))">开始</button>
                                    <br>
                                    <span id="eterc6completed">Completed 0 Times.</span><br>
                                    <span id="eterc6goal" >Goal: 1e1500</span><br>
                                    <span id="ec6reward">Reward: Further reduction dimension cost multiplier increase, Current: 3x</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="eterchallengediv" id="eterc7div" style="height: 140px; display: none">
                                <span>第一时间维度改为生产第八无限维度, 第一无限维度改为生产第七普通维度. 时间速率正常影响所有维度.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc7" class="challengesbtn" onclick="startEternityChallenge('eterc7', new Decimal('1e2000'), new Decimal('1e530'))">开始</button>
                                    <br>
                                    <span id="eterc7completed">Completed 0 Times.</span><br>
                                    <span id="eterc7goal" >Goal: 1e2700 IP</span><br>
                                    <span id="ec7reward">Reward: Infinity Dimension multiplier based on time shards, Current: 0x</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="eterchallengediv" id="eterc8div" style="height: 140px; display: none">
                                <span>你只能升级 50 次无限维度和 40 次复制器页面的升级.
                                </span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc8" class="challengesbtn" onclick="startEternityChallenge('eterc8', new Decimal('1e1300'), new Decimal('1e900'))">开始</button>
                                    <br>
                                    <span id="eterc8completed">Completed 0 Times.</span><br>
                                    <span id="eterc8goal" >Goal: 1e1150</span><br>
                                    <span id="ec8reward">Reward: dunno</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="eterchallengediv" id="eterc9div" style="height: 140px; display: none">
                                <span>你不能购买时间速率升级. 无限之力改为给时间维度削弱的增益.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc9" class="challengesbtn" onclick="startEternityChallenge('eterc9', new Decimal('1e1750'), new Decimal('1e250'))">开始</button>
                                    <br>
                                    <span id="eterc9completed">Completed 0 Times.</span><br>
                                    <span id="eterc9goal" >Goal: 1e400 IP</span><br>
                                    <span id="ec9reward">Reward: something good I hope</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="eterchallengediv" id="eterc10div" style="height: 140px; display: none">
                                <span>时间维度和无限维度被禁用, 根据无限次数给普通维度大量增益<br>
                                    (无限次数^1000) 当前: <span id="ec10span">xX</span>
                                </span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc10" class="challengesbtn" onclick="startEternityChallenge('eterc10', new Decimal('1e3000'), new Decimal('1e300'))">开始</button>
                                    <br>
                                    <span id="eterc10completed">Completed 0 Times.</span><br>
                                    <span id="eterc10goal" >Goal: 1e1500</span><br>
                                    <span id="ec10reward">Reward: dunno</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div class="eterchallengediv" id="eterc11div" style="height: 140px; display: none">
                                <span>除了无限力量和维度提升对普通维度的乘数, 其余所有维度的所有乘数被禁用.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc11" class="challengesbtn" onclick="startEternityChallenge('eterc11', new Decimal('1e500'), new Decimal('1e200'))">开始</button>
                                    <br>
                                    <span id="eterc11completed">Completed 0 Times.</span><br>
                                    <span id="eterc11goal" >Goal: 1e400 IP</span><br>
                                    <span id="ec11reward">Reward: something good I hope</span>
                                </div>
                            </div>
                        </td>
                        <td>
                            <div class="eterchallengediv" id="eterc12div" style="height: 140px; display: none">
                                <span>游戏速度慢 1000 倍.</span>
                                <br>
                                <br>
                                <div class="outer">
                                    <button id="eterc12" class="challengesbtn" onclick="startEternityChallenge('eterc12', new Decimal('1e110000'), new Decimal('1e12000'))">开始</button>
                                    <br>
                                    <span id="eterc12completed">Completed 0 Times.</span><br>
                                    <span id="eterc12goal" >Goal: 1e110000 in 0.5 seconds or less.</span><br>
                                    <span id="ec12reward">Reward: Infinity Dimension cost multipliers are reduced. (x^1)</span>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <table id="footer">
                <tr>
                    <td>
                        <div style="text-align:center">
                            <a href="howto.html" target="_newtab">How to play  </a> |
                            <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                            <a href="changelog.html" target="_newtab">Changelog   </a> |
                            <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                            <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
                        </div>
                    </td>
                </tr>
            </table>
        </div>




        <div id="infinity" class="tab" align="center" style="display: none">
            <br>
            <div id="infinityPoints1" style="color: black; font-size: 15px; width: 40%; margin: 0 auto">You have made x Infinity points.</div>
            <br>
            <tr>
                <td><button class="secondarytabbtn" onclick="showInfTab('preinf')">升级</button><td>
                <td><button id="postinfbtn" class="secondarytabbtn" onclick="showInfTab('postinf')" >打破无限</button><td>
                <td><button id="replicantitabbtn" class="secondarytabbtn" onclick="showInfTab('replicantis')">复制器</button><td>
            </tr>
            <div id="preinf" class="inftab">
            <br>
            <table class="table" style="margin: 0 auto">
                <tr>
                    <td>
                        <button id="infi11" class="infinistorebtn1">Production increase over time <br>currently:</button>
                    </td>
                    <td>
                        <button id="infi21" class="infinistorebtn2">购买 10 个维度的乘数 <br>2x -> 2.2x<br>花费: 1 无限点数</button>
                    </td>
                    <td>
                        <button id="infi31" class="infinistorebtn3">Production increase over time in current infinity<br>花费: 3 无限点数</button>
                    </td>
                    <td>
                        <button id="infi41" class="infinistorebtn4">开始时解锁第五维度<br>花费: 20 无限点数</button>
                    </td>
                </tr>
                <tr>
                    <td>
                        <button id="infi12" class="infinistorebtn1">First and Eighth Dimension power <br>xx</button>
                    </td>
                    <td>
                        <button id="infi22" class="infinistorebtn2">Second and Seventh Dimension power <br>xx</button>
                    </td>
                    <td>
                        <button id="infi32" class="infinistorebtn3">Bonus per unspent Infinity Point <br>xx</button>
                    </td>
                    <td>
                        <button id="infi42" class="infinistorebtn4">开始时解锁第六维度<br>花费: 40 无限点数</button>
                    </td>
                </tr>
                <tr>
                    <td>
                        <button id="infi13" class="infinistorebtn1">Third and Sixth Dimension power <br>xx</button>
                    </td>
                    <td>
                        <button id="infi23" class="infinistorebtn2">Fourth and Fifth Dimension power <br>xx</button>
                    </td>
                    <td>
                        <button id="infi33" class="infinistorebtn3">维度提升乘数 <br>2x -> 2.5x<br>花费: 7 无限点数</button>
                    </td>
                    <td>
                        <button id="infi43" class="infinistorebtn4">开始时解锁第七维度<br>花费: 80 无限点数</button>
                    </td>
                </tr>
                <tr>
                    <td>
                        <button id="infi14" class="infinistorebtn1">将维度提升和星系需要的维度数量减少 9<br>花费: 1 无限点数</button>
                    </td>
                    <td>
                        <button id="infi24" class="infinistorebtn2">星系效果翻倍<br>花费: 2 无限点数</button>
                    </td>
                    <td>
                        <button id="infi34" class="infinistorebtn3">Infinity Point generation (based on fastest infinity) <br>xx</button>
                    </td>
                    <td>
                        <button id="infi44" class="infinistorebtn4">开始时解锁第八维度, 并获得一个星系<br>花费: 500 无限点数</button>
                    </td>
                </tr>
                <tr>
                </tr>
            </table>
            <br>
            <div><button id="infiMult" class="infinimultbtn">Multiply infinity points from all sources by 2 <br>currently: <br>花费: 100 IP</button></div>
            <div><button id="infmultbuyer" class="storebtn" onclick="infMultAutoToggle()" style="display:none; height: 25px; width: 190px; font-size:10px; margin-top: 3px;">Autobuy IP mult ON</button></div>
            <div>
                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a> |
                                <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>

        <div id="postinf" class="inftab" align="center">
            <br>
            <div id="abletobreak">你需要将自动坍缩间隔升级到 0.1 秒来打破无限</div>
                <br>
                <table id="postinftable" class="table" style="margin: 0 auto">
                    <tr>
                        <td>
                            <button class="infinistorebtnbought" style="opacity: 0"></button>
                        </td>
                        <td>
                            <button id="break" class="infinistorebtn2" onclick="breakInfinity()" ach-tooltip="无限后所有内容会更贵, 但是无限点也会上升更快">打破无限</button>
                        </td>
                        <td>
                            <button class="infinistorebtnbought" style="opacity: 0"></button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button id="postinfi11" class="infinistorebtn1">Production based on total antimatter produced <br>Currently:<br>花费: 10 K IP</button>
                        </td>
                        <td>
                            <button id="postinfi21" class="infinistorebtn1">Production based on current antimatter<br>Currently: <br>花费: 50 K IP</button>
                        </td>
                        <td>
                            <button id="postinfi41" class="infinistorebtn1">Double the power of Galaxies<br>Currently: <br>花费: 500 K IP</button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button id="postinfi12" class="infinistorebtn1">Increase the production of all dimensions by amount infinitied <br>Currently:<br>花费: 100 K IP</button>
                        </td>
                        <td>
                            <button id="postinfi22" class="infinistorebtn1">achievemult</button>
                        </td>
                        <td>
                            <button id="postinfi32" class="infinistorebtn1">Increase the production of all dimensions based on slowest challenge run<br>花费: 3 M IP</button>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <button id="postinfi13" class="infinistorebtn1" onclick="buyInfinityUpgrade('infinitiedGeneration',20e6)">You passively generate Infinitied stat based on your fastest infinity.<br>1 every <br>花费: 20 M IP</button>
                        </td>
                        <td>
                            <button id="postinfi23" class="infinistorebtn1" onclick="buyInfinityUpgrade('bulkBoost',5e9)">Option to bulk buy Dimension Boosts <br>花费: </button>
                        </td>
                        <td>
                            <button id="postinfi33" class="infinistorebtn1" onclick="buyInfinityUpgrade('autoBuyerUpgrade',1e15)">Autobuyers work twice as fast <br>花费: 1 Qa IP</button>
                        </td>

                    </tr>
                    <tr>
                        <td>
                            <button id="postinfi31" class="infinimultbtn">Tickspeed cost multiplier increase <br>10x -> 9x<br>花费: 300 K IP</button>
                        </td>
                        <td>
                            <button id="postinfi42" class="infinimultbtn">Dimension cost multiplier increase <br>10x -> 9x<br>花费: 10 M IP</button>
                        </td>
                        <td>
                            <button id="offlineProd" class="infinimultbtn">Dimension cost multiplier increase <br>10x -> 9x<br>花费: 10 M IP</button>
                        </td>
                    </tr>
                </table>
                <div>
                    <table id="footer">
                        <tr>
                            <td>
                                <div style="text-align:center">
                                    <a href="howto.html" target="_newtab">How to play  </a> |
                                    <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                    <a href="changelog.html" target="_newtab">Changelog   </a> |
                                    <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                    <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
        </div>
        <div id="replicantis" class="inftab">
            <br>
            <button class="storebtn" id="replicantiunlock" onclick="unlockReplicantis()" style="width:200px; height: 80px">解锁复制器<br>花费: 1e140 IP</button>
            <div id="replicantidiv" style="display: none; width: 1000px">
                <div id="eterc8repl" style="display: none;"></div>
                <p style="font-size: 15px">你有 <span id="replicantiamount" style="font-size:23px; color: black">0</span> 复制器, 给无限维度提供 <span id="replicantimult" style="font-size:23px; color: black">0</span>x 的乘数.</p>
                <br>
                <button class="storebtn" id="replicantichance" onclick="upgradeReplicantiChance()" style="width:180px; height: 50px; font-size: 10px">Replicate chance: 1%<br>+1% Costs: 1e6969 IP</button>
                <button class="storebtn" id="replicantiinterval" onclick="upgradeReplicantiInterval()" style="width:180px; height: 50px; font-size: 10px">Interval: 1000ms<br>-> 900 Costs: 1e6969 IP</button>
                <button class="storebtn" id="replicantimax" onclick="upgradeReplicantiGalaxy()" style="width:180px; height: 50px; font-size: 10px">Max Replicanti galaxies: 0<br>+1 Costs: 1e6969 IP</button>
                <br>
                <button class="storebtn" id="replauto1" onclick="toggleReplAuto('chance')" style="width:180px; font-size: 10px; visibility: hidden">自动购买 开</button>
                <button class="storebtn" id="replauto2" onclick="toggleReplAuto('interval')" style="width:180px; font-size: 10px; visibility: hidden">自动购买 开</button>
                <button class="storebtn" id="replauto3" onclick="toggleReplAuto('galaxy')" style="width:180px; font-size: 10px; visibility: hidden">自动购买 开</button>
                <br><br><br>
                <p id="replicantiapprox"></p>
                <br>
                <button class="storebtn" id="replicantireset" onclick="replicantiGalaxy()" style="width: 200px; height: 70px; font-size: 12px">Reset replicanti amount, but get a free galaxy</button>
                <br>
                <button class="storebtn" id="replicantiresettoggle" onclick="replicantiGalaxyAutoToggle()" style="width: 200px; height: 25px; font-size: 12px; display: none">自动复制器星系 关</button>
            </div>
            <div id="footercontainer">
                <table id="footer">
                    <tr>
                        <td>
                            <div style="text-align:center">
                                <a href="howto.html" target="_newtab">How to play  </a> |
                                <a href="about.html" target="_newtab" onclick="giveAchievement('A sound financial decision')">Donate   </a> |
                                <a href="changelog.html" target="_newtab">Changelog   </a> |
                                <a href="https://discord.gg/ST9NaXa" target="_newtab">Discord</a> |
                                <a href="https://www.reddit.com/r/AntimatterDimensions/" target="_newtab">Subreddit</a>      |    <a href="https://ivark.github.io/savefixer/index.html" target="_newtab">Savefixer</a>

                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="shop" class="tab" style="font-size: 15px" >
            <div align="center">
                <br>
                <span id="kongip"> Double your IP gain from all sources. Forever. </span><br>
                <button class="greedbtn" onclick="kong.purchaseIP()">40 Kreds</button>
                <br><br><br>
                <span id="kongep"> Double your EP gain from all sources. Forever. </span><br>
                <button class="greedbtn" onclick="kong.purchaseEP()">50 Kreds</button>
                <br><br><br>
                <span id="kongdim"> Double all your dimension multipliers (dimensions 1-8). Forever. </span><br>
                <button class="greedbtn" onclick="kong.purchaseDimMult()">30 Kreds</button>
                <br><br><br>
                <span id="kongalldim"> Double ALL the dimension multipliers (Normal, Infinity and Time). Forever. </span><br>
                <button class="greedbtn" onclick="kong.purchaseAllDimMult()">60 Kreds</button>
                <br><br><br>
                <span>Get 6 hours worth of offline production. (Doesn't work for autobuyers)</span><br>
                <button class="greedbtn" onclick="kong.purchaseTimeSkip()">10 Kreds</button>
                <br><br><br>
                <span style="font-size: 12px"><b>Disclaimer: These are not required to progress in the game, they are just to help and support the developer.</b></span>
            </div>
        </div>

        </div>
    </div>
    <div class="popup" id="update">
        <div id="updatePopup">The last test.</div>
        <button class="storebtn" style="font-size: 15px" onclick="closeToolTip()" style="display: inline">好的</button>
    </div>
    <div class="popup" id="challfail">
        <div id="failPopup">挑战失败, 你只能退出.</div>
        <button class="storebtn" style="font-size: 15px" onclick="closeToolTip()" style="display: inline">好的</button>
    </div>
    <div class="popup" id="offlineprogress" style="width: 450px; height: 200px;">
        <div id="offlinePopup" style="height: 150px">You made X antimatter and stuff</div>
        <button class="storebtn" style="font-size: 15px" onclick="closeToolTip()" style="display: inline">好的</button>
    </div>
    <div class="popup savemenu" id="loadmenu">
        <button class="closebtn storebtn" onclick="closeToolTip()">&times;</button>
        <div id="save1">
            <strong>存档 #1: <span class="save_selected">(当前)</span></strong>
            <span class="save_antimatter"></span>
            <button class="storebtn" style="font-size: 15px" onclick="change_save(0)" style="display: inline">加载</button>
        </div>
        <div id="save2">
            <strong>存档 #2: <span class="save_selected">(当前)</span></strong>
            <span class="save_antimatter"></span>
            <button class="storebtn" style="font-size: 15px" onclick="change_save(1)" style="display: inline">加载</button>
        </div>
        <div id="save3">
            <strong>存档 #3: <span class="save_selected">(当前)</span></strong>
            <span class="save_antimatter"></span>
            <button class="storebtn" style="font-size: 15px" onclick="change_save(2)" style="display: inline">加载</button>
        </div>
    </div>
    <div class="popup savemenu" id="cloudloadconflict">
        <strong>Your cloud save appears to be older than your local save. Please select which one you would like to keep.</strong>
        <div id="local">
            <strong>Save #<span class="save_id"></span> (local):</strong>
            <span>Infinities: <span class="save_infinities"></span></span>
            <span>Eternities: <span class="save_eternities"></span></span>
            <button class="storebtn" style="font-size: 15px" style="display: inline">Load local</button>
        </div>
        <div id="cloud">
            <strong>Save #<span class="save_id"></span> (cloud):</strong>
            <span>Infinities: <span class="save_infinities"></span></span>
            <span>Eternities: <span class="save_eternities"></span></span>
            <button class="storebtn" style="font-size: 15px" style="display: inline">Load cloud</button>
        </div>
    </div>
    <div class="popup savemenu" id="cloudsaveconflict">
        <strong>Your local save appears to be older than your cloud save. Would you like to overwrite the cloud save?</strong>
        <div id="local">
            <strong>Save #<span class="save_id"></span> (local):</strong>
            <span>Infinities: <span class="save_infinities"></span></span>
            <span>Eternities: <span class="save_eternities"></span></span>
        </div>
        <div id="cloud">
            <strong>Save #<span class="save_id"></span> (cloud):</strong>
            <span>Infinities: <span class="save_infinities"></span></span>
            <span>Eternities: <span class="save_eternities"></span></span>
        </div>

        <button class="storebtn yes" style="font-size: 15px" style="display: inline">Yes</button>
        <button class="storebtn no" style="font-size: 15px" style="display: inline">No</button>
    </div>
    <div class="popup savemenu" id="animationoptions">
        <button class="closebtn storebtn" onclick="closeToolTip()">&times;</button>
        <button id="floatingTextAnimBtn" class="storebtn" onclick="animationOnOff('floatingText')" style="width: 200px; height: 55px; font-size: 15px" style="display: inline">ON</button>
        <button id="bigCrunchAnimBtn" class="storebtn" onclick="animationOnOff('bigCrunch')" style="width: 200px; height: 55px; font-size: 15px" style="display: inline">ON</button>
        <button id="tachyonParticleAnimBtn" class="storebtn" onclick="animationOnOff('tachyonParticles')" style="width: 200px; height: 55px; font-size: 15px" style="display: inline">ON</button>
    </div>
    <div id="TTbuttons" style="display:none;">
        <button class="timetheorembtn" onclick="maxTheorems()" style="margin-left:-276px; width:130px; height: 30px; font-size: 0.75rem; bottom: 77px;">购买最大时间定理</button>
        <button class="timetheorembtn hiddenwhenshowmasterystudy" onclick="studyTreeSaveButton(1)" style="margin-left:176px; width:30px; height: 30px; font-size: 0.75rem; bottom: 77px;">1</button>
        <button class="timetheorembtn hiddenwhenshowmasterystudy" onclick="studyTreeSaveButton(2)" style="margin-left:211px; width:30px; height: 30px; font-size: 0.75rem; bottom: 77px;">2</button>
        <button class="timetheorembtn hiddenwhenshowmasterystudy" onclick="studyTreeSaveButton(3)" style="margin-left:246px; width:30px; height: 30px; font-size: 0.75rem; bottom: 77px;">3</button>
        <button class="timetheorembtn" onclick="buyWithAntimatter()" id="theoremam" style="margin-left: -276px">购买时间定理 <br>花费: 1e20000 antimatter</button>
        <button class="timetheorembtn" onclick="buyWithIP()" id="theoremip" style="margin-left: -86px">Buy Time Theorems <br>花费: 1 IP</button>
        <button class="timetheorembtnlocked" onclick="buyWithEP()" id="theoremep" style="margin-left: 106px">Buy Time Theorems <br>花费: 1 EP</button>
        <div id="theorembuybackground"></div>
        <p id="timetheorems" style="position: fixed;">You have 0 Time Theorems.</p>
        <p id="studytreeloadsavetext" class="hiddenwhenshowmasterystudy" style="position: fixed;">加载:</p>
    </div>
    <div id="progress" style="display:none">
        <div id="progressbar"><span id="progresspercent" ach-tooltip="Percentage until Infinity">0%</span></div>
    </div>
</body>


<script type="text/javascript">var devSpeed = 1000;</script>
<script type="text/javascript"src="PlayFab/PlayFabClientApi.js"></script>
<script type="text/javascript" src="javascripts/autobuyer.js"></script>
<!-- script type="text/javascript" src="javascripts/decimal.js"></script> -->
<script type="text/javascript" src="javascripts/breakinfinity.js"></script>
<script type="text/javascript" src="javascripts/chart.js"></script>
<script type="text/javascript" src="javascripts/lz-string.js"></script>

<script type="text/javascript" src="javascripts/core/polyfill.js"></script>
<script type="text/javascript" src="javascripts/core/format.js"></script>
<script type="text/javascript" src="javascripts/core/achievements.js"></script>
<script type="text/javascript" src="javascripts/core/chart.js"></script>
<script type="text/javascript" src="javascripts/core/tickspeed.js"></script>
<script type="text/javascript" src="javascripts/core/normal_dimension.js"></script>
<script type="text/javascript" src="javascripts/core/infinity_dimension.js"></script>
<script type="text/javascript" src="javascripts/core/time_dimension.js"></script>
<script type="text/javascript" src="javascripts/core/dimboost.js"></script>
<script type="text/javascript" src="javascripts/core/timestudies.js"></script>
<script type="text/javascript" src="javascripts/core/canvases.js"></script>
<script type="text/javascript" src="javascripts/core/devtools.js"></script>
<script type="text/javascript" src="javascripts/core/load_functions.js"></script>
<script type="text/javascript" src="javascripts/core/newsticker.js"></script>
<script type="text/javascript" src="javascripts/core/kong.js"></script>
<script type="text/javascript" src="javascripts/core/playfab.js"></script>
<script type="text/javascript" src="javascripts/game.js?85"></script>


<script type="text/javascript" src="javascripts/sha512.js"></script>



</html>